Kevin79 Posted June 29, 2011 Report post Posted June 29, 2011 (edited) How do I create a collection that includes all computers in a specific OU? My AD structure is like: Domain -USA -Site1 -Clients -Servers -Users -Site2 -Clients -Servers -Users -Canada -Site1 -Clients -Servers -Users -Site2 -Clients -Servers -Users Etc. I want to create a collection that contains all the objects in USA-Site1-Clients. How do I do that? Edited June 29, 2011 by Kevin79 Quote Share this post Link to post Share on other sites More sharing options...
0 Trevor Sullivan Posted June 29, 2011 Report post Posted June 29, 2011 Kevin, First off, you must ensure that Active Directory System Group Discovery is enabled on your primary site servers. Next, you can create a query around the SMS_R_System.SystemOUName that looks for an OU path like: Domain.com/USA/Site/Clients. Keep in mind that it does not use the distinguished name syntax, like OU=Clients,OU=Site,OU=USA,DC=domain,DC=com. You could also, in theory, use a Desired Configuration Management (DCM) rule to build such a collection. Check the root\RSOP\machine WMI namespace for a class called RSOP_Session, which has a property called SOM. This property contains the distinguished name of the OU that the client is a member of. Cheers, Trevor Sullivan http://trevorsullivan.net http://twitter.com/pcgeek86 Quote Share this post Link to post Share on other sites More sharing options...
How do I create a collection that includes all computers in a specific OU? My AD structure is like:
Domain
I want to create a collection that contains all the objects in USA-Site1-Clients. How do I do that?
Edited by Kevin79Share this post
Link to post
Share on other sites