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
- Open PowerShell, preferably as administrator.
- Find the module:
Find-Module -Name VMware.PowerCLI

- 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.


- 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
- Check that the VMware commands are available:
Get-Command -Module VMWare*
- Connect to your vCenter server. A window asks for your credentials:
Connect-VIServer <vCenter FQDN>
- List the virtual machines:
Get-VM
See also
- Find the number of processor sockets in your VMware environment
- Gather information for a support ticket