You can run the sample scripts as is. You can also use the scripts as the starting point for writing your own Perl scripts to obtain CIM data from the server. If you accepted the defaults during vSphere SDK for Perl installation, the samples are in the following location on a Windows system:
If --server is not specified, it defaults to
localhost. If you are connecting to a remote host and do not specify a user name and password, you are prompted.
The WS-Management library consists of the WSMan::Basic and
WSMan::GenericOps classes, and the
StubOps.pm object-oriented wrapper for generic operations. The following sections discuss each library component.