Monday, January 9, 2012

ESXi - get VM commands.

for id in ` vim-cmd vmsvc/getallvms |awk '{print $1}'`
> do
> echo $id
> vim-cmd vmsvc/device.getdevices $id|egrep -i "vmdk|compat"
> done
336


esxcfg-scsidevs -m

esxcli vms vm ( you can kill a VM)

No comments: