Sunday, July 29, 2018

Using the ESXi command-line utility vim-cmd to power on/off the virtual machine

How to get status of all virtual machines using command line utility of Esxi 6


vim-cmd vmsvc/getallvms



Start Machine
vim-cmd vmsvc/power.on Vmid
vim-cmd vmsvc/power.on 70




Stop Machine
vim-cmd vmsvc/power.shutdown Vmid
vim-cmd vmsvc/power.shutdown 70


No comments:

Post a Comment