Get VMWare Tools of all VMs
Aus QBWiki
Version vom 24. Juni 2019, 15:21 Uhr von Pascal (Diskussion | Beiträge)
Log into a vsphere host and issue the following command, either separated with ';' or saved as script
1 #!/bin/bash
2 for i in $(vim-cmd vmsvc/getallvms | awk '{print $1}' | grep -oE '[0-9]{2,4}'); do
3 echo "$i : " ; vim-cmd vmsvc/get.guest $i | grep 'toolsVersion = '
4 done