Skip to content

Sub Collections

Featured Replies

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

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/

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? :)

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

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!! :)

wow, nice find, did you test it yet ?

 

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

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.