The Util package includes the following subroutines:
If used in conjunction with connect and a session file, does nothing. If used in conjunction with a user name and password, logs out and closes the session.
Returns the inventory path for the specified managed entity, for example, Folder,
Datacenter,
HostSystem,
VirtualMachine,
ComputeResource,
ClusterComputeResource, or
ResourcePool. The resulting inventory path can later be passed to the SOAP operation
FindByInventory path to retrieve the
ManagedObjectReference for a managed entity (from which a view can be created).
General-purpose logging function used in conjunction with the --verbose command-line option. Default log level is 0. Passing the
--verbose flag without a value sets the level to 1.