How to Power On / Off Virtual Machines Using the ESXi Console



ENABLE SSH from VmWare console

Connect with putty

vim-cmd vmsvc/getallvms | grep
vim-cmd vmsvc/power.getstate 8 – you must replace “8” with whatever VMID your VM is assigned to
vim-cmd vmsvc/power.shutdown 8
vim-cmd vmsvc/power.on 8