Using the WS-Management Library

If you are unable to find a satisfactory client library to make a WBEM connection, use WS-Management. ESXi includes a WS-Man server to support CIM operations.
VMware recommends using the Web Services for Management Perl Library for WS-Man clients. This library is included with the VMware vSphere SDK for Perl version 1.6 or higher. See http://www.vmware.com/support/pubs/sdk_pubs.html for more information about the vSphere SDK for Perl.