In my last post I asked a vote from the users if they would like to see my last script but with added command line features. So here it is…
You can pass these options… {–linux | –windesk | –winserv | –xml | –hostname}
So for example to run this script you will type "perl VMlist.pl –linux –xml" This will list all of your Virtual Machines that are Linux in XML format. or here is the same command with out the –xml option… "perl VMlist.pl –linux"
This script assumes you have the VMware
Infrastructure (VI) Perl Toolkit Packages installed and your
$HOME/.visdkrc set correctly. Without the above the script below will
not work!!
Continue reading “HowTo List Virtual Machines By OStype and by hostname on VMware ESX” »