Kaaskyker Posted September 7, 2010 Report post Posted September 7, 2010 Hi. Newbie here. I want to do a AD System Discovery in a container in AD but I want to exclude a sub container. Is this possible? I made a example (below). I want to add the container "058-Services" but I don't want discovery to happen in the sub container "Workstation Virtual". Is there an attribute I can change in SCCM or AD? Thank you in advance. Quote Share this post Link to post Share on other sites More sharing options...
0 Peter van der Woude Posted September 7, 2010 Report post Posted September 7, 2010 Its not possible to exclude any subcontainers... I can only think of some workarrounds, like: - Move the container in the AD to a place outside the AD Discovery, - Deny acces to the container for the ConfigMgr Site Server (will create errors during discovery). - Turn of the recursion on the top-level and create multiple LDAP Queries to discover the other containers. Quote Share this post Link to post Share on other sites More sharing options...
0 Kaaskyker Posted September 7, 2010 Report post Posted September 7, 2010 Thank you Peter. Quote Share this post Link to post Share on other sites More sharing options...
0 YiannosG Posted September 7, 2010 Report post Posted September 7, 2010 I think you can. You can create a collection with the OU to be excluded (subcontainer) and then create another one (top container) and tell them to exclude the other collection! Check these links Creating SCCM collections that exclude another collection Exclude a sub-OU from a Collection in SCCM ( Scroll down to see the solution) Quote Share this post Link to post Share on other sites More sharing options...
0 Eswar Koneti Posted September 7, 2010 Report post Posted September 7, 2010 I think you can. You can create a collection with the OU to be excluded (subcontainer) and then create another one (top container) and tell them to exclude the other collection! Check these links Creating SCCM collections that exclude another collection Exclude a sub-OU from a Collection in SCCM ( Scroll down to see the solution) Just a note : If you have computers informatiton in SCCM Databse,then you can create collections as per requirement but Collections will querying the objects (computer,users) from the SCCM Database(To happane this,system Discovery required), it (collections) will not query directly from Active Directory. Quote Share this post Link to post Share on other sites More sharing options...
0 Peter van der Woude Posted September 7, 2010 Report post Posted September 7, 2010 I think you can. You can create a collection with the OU to be excluded (subcontainer) and then create another one (top container) and tell them to exclude the other collection! Check these links Creating SCCM collections that exclude another collection Exclude a sub-OU from a Collection in SCCM ( Scroll down to see the solution) This has nothing to do with the Active Directory Discoveries, this is about computers which are already discoverd and then excluded from collections. Quote Share this post Link to post Share on other sites More sharing options...
0 YiannosG Posted September 7, 2010 Report post Posted September 7, 2010 This has nothing to do with the Active Directory Discoveries, this is about computers which are already discoverd and then excluded from collections. User wants to add a specific OU as per first post so i guess it's applicable. Quote Share this post Link to post Share on other sites More sharing options...
0 YiannosG Posted September 7, 2010 Report post Posted September 7, 2010 Just a note : If you have computers informatiton in SCCM Databse,then you can create collections as per requirement but Collections will querying the objects (computer,users) from the SCCM Database(To happane this,system Discovery required), it (collections) will not query directly from Active Directory. Yes but, what if you create collection as per OU? so this will always reflect your OU container. Example 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 SMS_R_System.SystemOUName = "YOUR DOMAIN/OU" Quote Share this post Link to post Share on other sites More sharing options...
0 Eswar Koneti Posted September 7, 2010 Report post Posted September 7, 2010 Yes but, what if you create collection as per OU? so this will always reflect your OU container. Example Create a collection as Per OU : This will list all the computers from SCCM Database with filter option "where SMS_R_System.SystemOUName = "YOUR DOMAIN/OU" to see how many computers will fall with this filter for various Ways,since SystemOUName is attrbiute of computer properties if AD System Group discovery Disabled . Quote Share this post Link to post Share on other sites More sharing options...
0 YiannosG Posted September 7, 2010 Report post Posted September 7, 2010 Create a collection as Per OU : This will list all the computers from SCCM Database with filter option "where SMS_R_System.SystemOUName = "YOUR DOMAIN/OU" to see how many computers will fall with this filter for various Ways,since SystemOUName is attrbiute of computer properties if AD System Group discovery Disabled . Sorry i don't understand this post. if you are explaining to me there is no reason. I was posting a working example from my SCCM Quote Share this post Link to post Share on other sites More sharing options...
0 Kaaskyker Posted September 8, 2010 Report post Posted September 8, 2010 Thank you for all the replies. I'll play around a bit. Quote Share this post Link to post Share on other sites More sharing options...
Hi. Newbie here.
I want to do a AD System Discovery in a container in AD but I want to exclude a sub container.
Is this possible?
I made a example (below).
I want to add the container "058-Services" but I don't want discovery to happen in the sub container "Workstation Virtual".
Is there an attribute I can change in SCCM or AD?
Thank you in advance.
Share this post
Link to post
Share on other sites