Update PowerCLI

You can update PowerCLI when a new version of the product becomes available. See the PowerShell Gallery for the latest PowerCLI versions.

Use the Update-Module cmdlet to update PowerCLI modules. You can update all VMware PowerCLI modules with a single command, or update modules individually.

You cannot use the Update-Module cmdlet in offline mode. To update PowerCLI in offline mode, you must perform a new installation. See Install PowerCLI Offline.

Procedure

  1. Open PowerShell.
  2. To update all PowerCLI modules, run the command:
    Update-Module VMware.PowerCLI -Scope CurrentUser
    Alternatively, you can update individual PowerCLI modules by running the Update-Module cmdlet with the module name.