These scripts will list all vms registered with Virtual Center or a specific Datacenter object.
Usage: listdcvms.pl --server <VC Server> --username <username> --password <password> --datacenter <DC Name>
Usage: listallvms.pl --server <VC Server> --username <username> --password <password>