Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Collections in SMS

Status
Not open for further replies.

superitgrrl

IS-IT--Management
Apr 2, 2008
1
US
I am creating a new colletion, and using the Membership Rule Wizard. I would like to add an entire OU filled with PC's to the collection. I believe I select Membership Rules->Membership Rule Wizard->Resource class = User FGroup Resource, Attribute Name = ADOU, but my question is what is the value =? I have tried entering the OU name only, and domain.local\OUname....but I know I am missing something. Does anyone have an example?

Thank you,

Shauna
 
Hi,
Here is one example of the language query that I use:

select SMS_R_System.ResourceID,SMS_R_System.ResourceType,SMS_R_System.Name,SMS_R_System.SMSUniqueIdentifier,SMS_R_System.ResourceDomainORWorkgroup,SMS_R_System.Client from SMS_R_System where ADSiteName = "OU-OrganizationalUnit01a"

Just enter the name of your OU where "OU-OrganizationalUnit01a" is.



I hope you find this post helpful.

Regards,
GSC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top