New to my PowerShell Profile: VMware PowerCLI By jbmurphy on March 24, 2011 in PowerShell, VMware & { $ErrorActionPreference = "silentlycontinue" $vmwareSnap = get-pssnapin -name "VMware.VimAutomation.Core" if (! $?) { add-pssnapin "VMware.VimAutomation.Core" } } This will add the PowerShell CLI tools if they exist. Thanks to this thread Related PowerShell, VMware
Comments are closed.