The Util package includes the following subroutines:
Establishes a session with the vCenter Server or ESX/ESXi Web service by using the token provided in a previously saved session file, or by using the user name and password provided using the command line, environment variables, or a configuration file.
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.