Created
December 7, 2015 16:45
-
-
Save kakwa/4dd7356d045e4f66632a to your computer and use it in GitHub Desktop.
start all vms on an esxi host
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
vim-cmd vmsvc/getallvms | awk '{print $1}' | while read id; do vim-cmd vmsvc/power.on $id;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment