4.1.9 Create a Custom Process Matching Criteria
The following sequence of WSRM client actions can be used to create a custom process matching criteria (PMC):
Connect to the WSRM server by creating a ResourceManager COM object.
Get a pointer to the IWRMResourceGroup interface.
Call the CreateResourceGroup method with the parameter bstrResourceGroupInfo set to the sample PMC string described in section 4.2.21.
Release the pointer to the interface.