How to Power on a virtual machine from the command line?


ESXi 4.x, 5.x and 6.0

To power on a virtual machine from the command line:

    List the inventory ID of the virtual machine with the command:
    vim-cmd vmsvc/getallvms |grep Note: The first column of the output shows the vmid.   

    Check the power state of the virtual machine with the command:
    vim-cmd vmsvc/power.getstate    

    Power-on the virtual machine with the

0 Comments