For convenient interactive access to a CIM server, install wbemcli, available from http://sourceforge.net/project/showfiles.php?group_id=128809. Using wbemcli, you can invoke CIM operations from a shell.To access a CIM server using the WS-Management protocol, install the wsmancli package, available from http://sourceforge.net/projects/openwsman/. Using the wsman command-line interface, you can invoke CIM operations from a shell.
Note If the managed server is in lockdown mode, you must authenticate using a CIM ticket obtained from vCenter Server. See CIM Authentication for Lockdown Mode for more information about using a CIM ticket to authenticate.For example, the C++ code in the CIM Storage Management API Programming Guide connects to the CIM server included with ESX Server 3.0, but does not connect to the CIM server included with ESX 4 or later.