vidiscovery.pl - displays the hierarchy of virtual items
vidiscovery.pl[options]
This VI Perl command-line utility displays the hiercharcy of virtual items such as datacenter, folders, resource pools, hosts with proper indentation.
Required. Type of virtual items from datacenter,folder,resource pool and host.
Required. Name of the virtual item mentioned in the entity option. if e.g. host is given in entitytype option and give host name in name option then the hiercharcy of all the item in that particular host will be displayed
Display the hiercharcy of all the items in a datacenter
vidiscovery.pl --url https://<host>:<port>/sdk/vimService --username myuser --password mypassword --entitytype datacenter --name myDatacenter
Display the hiercharcy of all the items in a pool
vidiscovery.pl --url https://<host>:<port>/sdk/vimService --username myuser --password mypassword --entitytype pool --name myPool
All operations work with VMware VirtualCenter 2.0.1 or later.
All operations work with VMware ESX server 3.0.1 or later.