Install PowerCLI

1.Downloaded zip archive from

https://code.vmware.com/web/tool/12.0.0/vmware-powercli

2. unzip it

3. Created the folder “modules” in ‘C:\Users\dgorokhov\Documents\WindowsPowerShell\’

4. Unblock folders/files after copyGet-ChildItem -Path 'C:\Users\Username\Documents\WindowsPowerShell\Modules\VMware*' -Recurse | Unblock-File

5. CheckGet-Module -Name VMware.* | Select-Object -Property Name,Version Name Version ---- ------- VMware.VimAutomation.Cis.Core 12.0.0.15939657 VMware.VimAutomation.Common 12.0.0.15939652 VMware.VimAutomation.Core 12.0.0.15939655 VMware.VimAutomation.Sdk 12.0.0.15939651 VMware.VimAutomation.Srm 11.5.0.14899557

Another way to install powercliInstall-Module -Name VMware.PowerCLI -Confirm:$false -AllowClobber -Force

Last updated

Was this helpful?