Skip to content

Instantly share code, notes, and snippets.

@jkullick
Last active December 29, 2016 13:28
Show Gist options
  • Save jkullick/f5c38ff08b07c716d39823e3d20cd627 to your computer and use it in GitHub Desktop.
Save jkullick/f5c38ff08b07c716d39823e3d20cd627 to your computer and use it in GitHub Desktop.
Power-on VM on VMWare ESXi manually
  1. List VMs to get $VM_ID:
vim-cmd vmsvc/getallvms
  1. Power-on VM:
vim-cmd vmsvc/power.getstate `$VM_ID`

Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment