To use VMware PowerCLI you need to first install/enable the modules on your client computer. The steps provided below are of steps that I have frequently taken to install on my Windows 10 client machines.
Install VMware PowerCLI Module From PC With Internet Connection
From a Windows 10 client with an internet connection open
- Set-ExecutionPolicy Unrestricted
- Find-Module -Name VMware.PowerCLI
- Install-Module -Name VMware.PowerCLI -Scope CurrentUser
- Get-Command -Module VMWare
Once we have the module successfully imported I issue a command to disable the prompt to join VMware’s Customer Experience Improvement Program (“CEIP”) and so it ignores the certificate warning.
Command Issued:
- Find-Module -Name VMware.PowerCLI
- Install-Module -Name VMware.PowerCLI -Scope CurrentUser
- Get-Command -Module VMWare