a guest Dec 19th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- for i in $(seq -w $1 $2)
- num=$(printf %02d $i)
- VMID=`vim-cmd vmsvc/getallvms |grep CentOS7-$num | cut -f1 -d' '`
- vim-cmd vmsvc/power.on $VMID
RAW Paste Data