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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...