web analytics

Posts Tagged 'Computer Association'

How to create a Computer Association

Posted by:

To create a Computer Association

  1. Set up a connection to the SMS Provider.
  2. Query the source and destination computer ResourceID property value from SMS_R_SYSTEM WMI class
  3. Set the SourceClientResourceID and RestoreClientResourceID property.
  4. Call the AddAssociation method in SMS_StateMigration WMI class