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.
PowerShell Export-PSCredential and Import-PSCredential functions to save credentials to an encrypted XML file for unattended scripts.