List all registered VM ID’s:

vim-cmd vmsvc/getallvms

Power off vm:

vim-cmd vmsvc/ VMID

Check vm power status:

vim-cmd vmsvc/power.getstate VMID
Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: