Skip to content

Virtualization.co.in

  • Home
  • Series
  • OpenShift Virtualization
  • MTV
  • VMware
    • vCenter
    • VCSA
    • ESXi
    • vCenter SDK
    • PowerCLI
  • Scripts
    • PowerCLI
    • Powershell
    • VBScript
  • About

PowerShell

OpenShift Virtualization

Building OpenShift PowerShell Cmdlets

October 31, 2026October 31, 2026
5 min read
OcpVirtualization PowerShell module architecture: public Get-OcpVM and Start-OcpVM functions call a private native-command helper that passes an argument array to oc or virtctl, checks the exit code, and returns objects

Build a safe PowerShell module for OpenShift Virtualization with explicit context, exit-code checks, -WhatIf support and Pester tests.

Categories OpenShift Virtualization, PowerShell Tags Automation
OpenShift Virtualization

VMware PowerCLI vs OpenShift CLI

October 31, 2026October 31, 2026
6 min read
Imperative PowerCLI model where a cmdlet runs a vCenter task, compared with the declarative OpenShift model where oc or virtctl submits desired state that controllers reconcile into observed state

Map PowerCLI tasks to oc and virtctl, and learn the declarative model: context, JSON objects, requested vs observed state and safe retries.

Categories OpenShift Virtualization, PowerShell Tags Automation
PowerShell

Export PSCredentials To File

October 31, 2026November 29, 2020
1 min read
VPowerShell

PowerShell Export-PSCredential and Import-PSCredential functions to save credentials to an encrypted XML file for unattended scripts.

Categories PowerShell Tags Automation
V virtualization.co.in

Engineering notes and guides on VMware vSphere, OpenShift Virtualization, KubeVirt and the Migration Toolkit for Virtualization.

Topics

  • OpenShift Virtualization
  • Migration Toolkit for Virtualization
  • VCSA
  • PowerShell
  • PowerCLI
  • vCenter
  • ESXi
  • vCenter SDK

Recent articles

  • MTV Storage Copy Offload with XCOPY: Populator Pods, VIB and SSH Explained
  • Enterprise-Scale VMware to OpenShift Migration Architecture
  • OpenShift Virtualization Troubleshooting Guide
  • Building OpenShift PowerShell Cmdlets
  • VMware PowerCLI vs OpenShift CLI
© 2026 virtualization.co.in · Content is provided for educational purposes; validate against your product versions and support matrix.