a guest Dec 19th, 2018 66 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