VMware PowerCLI in the PowerShell Gallery
Have you ever wondered why VMware released new Versions of ESXi, vCenter, vSAN - but no updated version for the PowerCLI installer?
The answer is simple: you do not need an installer anymore!
PowerCLI is now hosted in the PowerShell Gallery, which makes installations and upgrades a lot easier:
Installation (with InternetConnection)
Install-Module -Name VMware.PowerCLI –Scope CurrentUser
Update (with InternetConnection)
Update-Module -Name VMware.PowerCLI –Verbose
for Offline Installation and Examples have a look at blogs.vmware.com/PowerCLI/2017/04/powercli-install-process-powershell-gallery.html
If you already installed the old installer based version, you have to uninstall the old version first, as the Install-Module does not uninstall the installer-based version