NAME

vidiscovery.pl - displays a hierarchy of items in a VirtualCenter server or ESX server inventory.


SYNOPSIS

 vidiscovery.pl [options]


DESCRIPTION

This command displays the hierarchy of items in a VirtualCenter server or ESX server inventory such as datacenter, folders, resource pools and hosts with proper indentation.


OPTIONS

managedentity

Required. Type of inventory item. Valid values are datacenter, folder, resource pool and host.

entityname

Required. Name of the inventory item for which you specified in the managedentity option. For example, if you specify host as the entitytype, and specify a host name in the name option, the hierarchy of all inventory items in that particular host will be displayed.


EXAMPLES

Display the hierarchy of all the items in a datacenter:

 vidiscovery.pl --url https://<host>:<port>/sdk/vimService --username myuser
              --password mypassword  --managedentity datacenter --entityname myDatacenter

Display the hierarchy of all the items in a pool:

 vidiscovery.pl --url https://<host>:<port>/sdk/vimService --username myuser
              --password mypassword  --managedentity pool --entityname myPool