Jump to content




Sign in to follow this  
stephenv

Sub Collections



Recommended Posts

I am a Newbie to SCCM 2007. I am trying to get Subcollections setup so I can do companyA>windows7>Deparments (and we got like 20 departments)

 

Trying to get it so when I push Patches I can push to a Certain Department.. I cant figure out how to do this.. and I found out we Do use OU in AD

 

Thanks

Share this post


Link to post
Share on other sites


you can make a dynamic query for each OU in each sub collection, that way a collection can point to department 1 (which could be OU dept1), another collection can point to department 2 (OU dept2) and so on,

 

like so > http://www.windows-noob.com/forums/index.php?/topic/2013-how-can-i-create-a-collection-that-targets-only-computers-under-a-specific-ou/

Share this post


Link to post
Share on other sites

you can make a dynamic query for each OU in each sub collection, that way a collection can point to department 1 (which could be OU dept1), another collection can point to department 2 (OU dept2) and so on,

 

like so > http://www.windows-noob.com/forums/index.php?/topic/2013-how-can-i-create-a-collection-that-targets-only-computers-under-a-specific-ou/

 

Is there a way to create a recursive query? Lets say use one query and get the Sub-OUs...and end up having your AD structure in SCCM? :)

Share this post


Link to post
Share on other sites

not that i know of, you'd have to build a 'mirror' copy of your ad structure by creating collections with the same structure and basing each collection on an OU, for a large AD that can take some time, but it is a one time thing, once it's setup you are done

Share this post


Link to post
Share on other sites

not that i know of, you'd have to build a 'mirror' copy of your ad structure by creating collections with the same structure and basing each collection on an OU, for a large AD that can take some time, but it is a one time thing, once it's setup you are done

 

Follow this link!

 

Create a collection and note the Collection ID

 

Then Cscript.exe SystemOUCollectionCreator.vbs <ServerName> <ParentCollectionID> <site code>

 

Voila!! :)

Share this post


Link to post
Share on other sites

wow, nice find, did you test it yet ?

Share this post


Link to post
Share on other sites

wow, nice find, did you test it yet ?

 

yeap! works flawlessly! Thank God cause we have a lot OUs :lol:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


×