Update a PowerCLI Module

You can update a PowerCLI module when a new version of the module becomes available.

If you use Update-Module, the existing version of the module is not removed. To update a module, you should first uninstall the existing version of the module and then install the new version.

Procedure

  1. Open the PowerShell console.
  2. Uninstall the existing version of the module.
    Get-Module VMware.Module_Name | Uninstall-Module -Force
  3. Install the new version of the module.
    Install-Module VMware.Module_Name