web analytics

Posts Tagged 'Rules'

How to create a Direct Membership rule

Posted by:

To create a Direct Membership rule

  1. Set up a connection to the SMS Provider.
  2. Identify the ResourceID and Name values.
  3. Create the direct rule.
  4. Add the direct rule to the collection

Examples

How to create an Exclude Rule

Posted by:

To create an Exclude Rule

  1. Set up a connection to the SMS Provider.
  2. Verify the Exclusion rule using VerifyNoCircularDependencies from SMS_Collection WMI Class
  3. Create the Exclusion rule.
  4. Add the Exclusion rule to the collection

Examples

How to create an Include Rule

Posted by:

To create an Include Rule

  1. Set up a connection to the SMS Provider.
  2. Verify the Include rule using VerifyNoCircularDependencies from SMS_Collection WMI Class
  3. Create the Include rule.
  4. Add the Include rule to the collection

Examples

How to create a Query Rule

Posted by:

to create a Query Rule

  1. Set up a connection to the SMS Provider.
  2. Verify the Query rule using ValidateQuery from SMS_CollectionRuleQuery WMI Class
  3. Create the Query rule.
  4. Add the Query rule to the collection

Examples