Building OpenShift PowerShell Cmdlets
5 min readBuild a safe PowerShell module for OpenShift Virtualization with explicit context, exit-code checks, -WhatIf support and Pester tests.
Build a safe PowerShell module for OpenShift Virtualization with explicit context, exit-code checks, -WhatIf support and Pester tests.
Map PowerCLI tasks to oc and virtctl, and learn the declarative model: context, JSON objects, requested vs observed state and safe retries.
Automate VMware vCenter Server Appliance deployment with the VCSA CLI installer and a JSON template.
Retrieve vSphere managed objects such as clusters, hosts, datastores and VMs using VimClientImpl.FindEntityViews in the vSphere SDK.
PowerShell Export-PSCredential and Import-PSCredential functions to save credentials to an encrypted XML file for unattended scripts.
Connect to VMware vCenter from C# using the VMware.Vim library shipped with PowerCLI, as a foundation for vSphere SDK automation.