VMware PowerCLI 6.5.1 and PowerShellGet

Two weeks ago, VMware released PowerCLI 6.5.1 with big enhancements.

There is no longer need to download and install MSI file. You can now install PowerCLI directly from the PowerShell Gallery. The PowerShell Gallery is the central repository for PowerShell content from which you can find new PowerShell commands. Installing items from the Gallery requires the latest version of the PowerShellGet module which is available in Windows Management Framework (WMF) 5.0.

Another enhancement is that the modules have also been updated to support the PowerShell auto-loading process. It means that we no longer need to load the PowerCLI module into the PowerShell session. When you will use the first cmdlet then the PowerCLI module will be loaded as needed.


  • Windows Management Framework 5 or greater is installed
  • Uninstall existing versions of PowerCLI
  • Close all the PowerShell sessions

Online Installation

Install the PowerCLI module from PowerShell Gallery. Administrator rights might be required to install modules on your machine:

You may need to update the module:

Now, you just have to load the module:

That’s it!

More information here

Offline Installation

If you have non-internet connected servers then you might need to install PowerCLI. Use the Save-Module cmdlet:

You could save to a USB drive or network drive or any other storage location.


Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 270 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.