How to connect to VMWare ESXi using PowerCLI

Home > Search > How-to
  by

To connect to VMWare ESXi using PowerCLI:

  1. Download and install PowerCLI from www.vmware.com.
  2. In PowerCLI, using the following command to connect to your ESXi hypervisor:
Connect-VIServer -Server server_name -User username -Password password
  1. 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

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments