VMWare - Connect to ESXi using PowerCLI

by
Jeremy Canfield |
Updated: March 09 2020
| VMWare articles
To connect to VMWare ESXi using PowerCLI:
- Download and install PowerCLI from www.vmware.com.
- In PowerCLI, using the following command to connect to your ESXi hypervisor:
Connect-VIServer -Server server_name -User username -Password password
- Use the Get-VM command to list the Virtual Machines installed on the hypervisor.
Get-VM
Name PowerState Num CPUs MemoryGB
---- ----------- --- ---- --------
CentOS-FS1 PowerOn 1 1.000
Windows-WebSrv PowerOff 1 4.000
Did you find this article helpful?
If so, consider buying me a coffee over at