Skip to content
English
  • There are no suggestions because the search field is empty.

Install VMware PowerCLI on Windows Server

Install the VMware PowerCLI module, for example when OpsLogix support asks you to run VMware PowerShell commands.

Applies to: OpsLogix VMware Management Pack (all versions) · Windows Server · vCenter 7.0, 8.0, 9.0
Last updated: October 2026 · Reading time: 2 minutes

Goal

Install the VMware PowerCLI PowerShell module on a Windows server. OpsLogix support may ask you to run VMware PowerShell commands while troubleshooting, and some OpsLogix scripts need PowerCLI.

The VMware Management Pack itself doesn't use PowerCLI. You only need it for the script in Count the CPU sockets in your VMware environment and for the remediation commands of the ransomware security checks.

Prerequisites

  • A computer with an internet connection.
  • PowerShell, preferably run as administrator.

Steps

  1. Open PowerShell, preferably as administrator.
  2. Find the module:
    Find-Module -Name VMware.PowerCLI

  3. Install the module, and select A when asked to confirm:
    Install-Module -Name VMware.PowerCLI -Scope CurrentUser

    The -Scope CurrentUser parameter installs the module without administrator rights.


  4. Optional: to skip the prompt to join VMware's Customer Experience Improvement Program (CEIP), and to get a warning instead of an error when vCenter uses a certificate your server doesn't trust, run:
    Set-PowerCLIConfiguration -Scope User -ParticipateInCeip $false -InvalidCertificateAction Warn

Verify it worked

  1. Check that the VMware commands are available:
    Get-Command -Module VMWare*
  2. Connect to your vCenter server. A window asks for your credentials:
    Connect-VIServer <vCenter FQDN>
  3. List the virtual machines:
    Get-VM

See also