Reading Time: 2 minutes

VMware has just released a new fresh version of PowerCLI 10.2.0!

VMware PowerCLI is a command-line and scripting tool built on Windows PowerShell, and provides more than 600 cmdlets for managing and automating vSphere, vCloud, vRealize Operations Manager, vSAN, NSX-T, VMware Cloud on AWS, and VMware Horizon environments.

PowerCLI 10.2.0 comes with the following updates:

  • Support for NSX-T 2.2
  • Deprecation of the PCloud module, so look for this module to be removed in the future
  • Update to Get-VIEvent to resolve the issue when receiving: Error in deserializing body of reply message for operation ‘RetrieveProperties’

The new version 10.2.0 is the 4th release of PowerCLI in this current year. Really a lot, considering also how much has grown in the multiplatform area with PowerShell Core.

Also, starting with version 6.5.1, PowerCLI can be easily installed directly from the PowerShell Gallery.

This means that also the upgrade it’s something really easy. Just run this command to update all PowerShell modules:


Or run this command to update only PowerCLI:

Update-Module VMware.PowerCLI

But note that this will just add the new version of the PowerCLI modules and will not really update all the modules, replacing the old one.

An Italian blogger (Lorenzo Moglie) has implemented a procedure (described in Italian) to remove all the previous modules.

Basically, you need to manually find the old versions for PowerCLI (but also VMware.Vim and VMware.VimAutomation.Nsxt modules) with this command:

Get-Module -Name VMware.PowerCLI -ListAvailable | select version

And then remove with this command (in case the old version is only

Uninstall-Module -Name VMware.PowerCLI -RequiredVersion -force


Andrea Mauro

Virtualization, Cloud and Storage Architect. Tech Field delegate. VMUG IT Co-Founder and board member. VMware VMTN Moderator and vExpert 2010-20 and vExpert Pro. Dell TechCenter Rockstar 2014-15. Microsoft MVP 2014-16. Veeam Vanguard 2015-19. Nutanix NTC 2014-20. Several certifications including: VCDX-DCV, VCP-DCV/DT/Cloud, VCAP-DCA/DCD/CIA/CID/DTA/DTD, MCSA, MCSE, MCITP, CCA, NPP.