User Tools

Site Tools


sesipod:linux:esxi:vm-numbers

List the inventory ID of the virtual machine

Last update 1-11-2015


vim-cmd /vmsvc/getallvms
vim-cmd vmsvc/getallvms | sed -e '1d' -e 's/ \[.*$//' | awk '$1 ~ /^[0-9]+$/ {print $1":"substr($0,8,80)}'
sesipod/linux/esxi/vm-numbers.txt · Last modified: 2020/10/02 10:16 (external edit)