VMware ESXi supports the WS-Management protocol in addition to the CIM-XML protocol for passing CIM information between client and server. VMware provides WS-Management client libraries as part of the vSphere SDK for Perl.
Using the WSMan::GenericOps layer of the SDK is similar to using a CIM-XML client library. The client creates a connection object, enumerates instances, and traverses associations in the same general way as described in
Making a Connection to the CIMOM,
Listing Registered Profiles, and
Identifying the Base Server Scoping Instance. For more information about the vSphere SDK for Perl, see the
vSphere SDK for Perl Programming Guide.
The following code example shows how you can make a connection to the CIM server, enumerate registered profiles, and follow the ElementConformsToProfile association to the Base Server Scoping Instance of ComputerSystem.