shows VMs
vimsh -n -e “vmsvc/getallvms” | grep -i vmid | awk ‘{print $3}’ > /tmp/vmids
vimsh -n -e “vmsvc/deviceconnection
3000 here is usually ide0:0. for others, you’ll need to see it in
vimsh -n -e “vmsvc/showdevices
Random, usually tech stuff – mostly notes, gotchas, how tos …
shows VMs
vimsh -n -e “vmsvc/getallvms” | grep -i vmid | awk ‘{print $3}’ > /tmp/vmids
vimsh -n -e “vmsvc/deviceconnection
3000 here is usually ide0:0. for others, you’ll need to see it in
vimsh -n -e “vmsvc/showdevices