ESxi command line to start the virtual machine view

The first step: vim-cmd vmsvc / getallvms see all virtual machines Vmid number
Step two:

Close VM: vim-cmd vmsvc / power.off [Vmid]

The virtual machine: vim-cmd vmsvc / power.on [Vmid]

Restart the virtual machine: vim-cmd vmsvc / power.reset [Vmid]

third step:

Gets the virtual machine's current state: vim-cmd vmsvc / power.getstate 3

Guess you like

Origin www.cnblogs.com/aldshengdeng/p/12155867.html