2.2.3.2.9 ComputerTargetGroups Attribute

If present, this attribute specifies a list of target group GUIDs. If the IncludeSubgroups attribute (section 2.2.3.2.10) is set to FALSE, a computer is included only if it is a direct (explicit) member of at least one of these groups. If the IncludeSubgroups attribute is set to TRUE, then a computer is included if it is a direct or indirect member of one of these groups. If the attribute is absent or empty, no filtering MUST be done based on target groups.

The list of allowable target groups is defined as a string of an XML fragment.

  
 '<root><TargetGroupID>GUID</TargetGroupID>...</root>'

Because this is an attribute, the XML fragment has to be escaped, for example:

  
 ComputerTargetGroups = "&lt;root&gt;&lt;TargetGroupID &gt;GUID&lt;/TargetGroupID &gt;&lt;/root&gt;"