You can learn how to use the CIM object space to get information and manage a server that runs VMware ESXi by studying these examples. Each example describes a goal to accomplish, steps to accomplish the goal, and a few lines of pseudocode to demonstrate the steps used in the client. These examples are chosen primarily to explain features of the VMware implementation of the profiles, and secondarily to demonstrate common operations.
Many of the examples build on the basic steps described in Developing Client Applications for the CIM API.