+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 22
Enterprise Software Thread, Creating an SCCM collection in Technical; Hello. I wish to create a collection in SCCM based on computers in an OU and ones in the sub ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444

    Creating an SCCM collection

    Hello.

    I wish to create a collection in SCCM based on computers in an OU and ones in the sub OU's. I have only managed to find methods that will allow me to create them based on the computers based in the parent OU. Does anyone know how i can create one that will include computers in the sub OU please?

    Thanks

  2. #2

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,731
    Thank Post
    1,272
    Thanked 1,644 Times in 1,100 Posts
    Blog Entries
    22
    Rep Power
    505
    The way I would probably go about this is to have a query for each OU and just add them all to the membership rules of the collection.
    Therefore you have several queries in the membership rules to construct the collection rather than one that pulls in all the machines.

  3. Thanks to sparkeh from:

    FN-GM (31st March 2012)

  4. #3

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    @FN-GM it should do this by default:

    Membership rule is set top update on a schedule (1 day) and to dynamically add new resources
    I then have a query to get the computers:
    Code:
    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 = "<dns.domain.name>/DOMAIN CONTROLLERS" or SMS_R_System.SystemOUName = "<dns.domain.name>/PATH/TO/PARENT/COMPUTERS/OU"
    What this does is:

    Show the DCs in the DOMAIN CONTROLLERS Container
    and starting at <dns.domain.name>/PATH/TO/PARENT/COMPUTERS/OU and everything below that..

    I then create more collections inside this collection to replicate my AD structure, but just deepening the OU Path (eg: <dns.domain.name>/PATH/TO/PARENT/COMPUTERS/OU/SUB-OU1)

  5. Thanks to Gatt from:

    FN-GM (31st March 2012)

  6. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Hi guys, i think this is a discovery issue (This is my first day with SCCM so please go easy).

    I followed this guide to discover computers in an parent OU called workstations - Making SMS 2007 collections based on organizational unit | TechRepublic - But the machine is not showing the the collection, i can see it in the all systems collection.

    I have run update collection membership and refreshed.

    Thanks

  7. #5

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    Make sure you enable all the discovery rules and set them to do it immediately (Polling Schedule - Run full discovery as soon as possible) - then wait for it to compete (varies depending ont he network)
    Then update your collections and refresh

    Also on Discovery Methods - on the general tab - I use the local domain (point it to the root of the domain), recursive and to inlcude groups..

  8. #6

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Quote Originally Posted by Gatt View Post
    Make sure you enable all the discovery rules and set them to do it immediately (Polling Schedule - Run full discovery as soon as possible) - then wait for it to compete (varies depending ont he network)
    Then update your collections and refresh

    Also on Discovery Methods - on the general tab - I use the local domain (point it to the root of the domain), recursive and to inlcude groups..
    The issue at the moment i dont want it to install the client on machines in the domain just a select few at the moment. At the moment i have only configured "Active Directory System Discovery" to the test machine OU

    Also on Discovery Methods - on the general tab - I use the local domain (point it to the root of the domain), recursive and to inlcude groups..
    I cant find any tabs under Discovery Methods.

    Thanks

  9. #7

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    Ah ok thats fair enough..


    As for the tabs - the only 2 DM's that dont have tabs are Heartbeat and Network discoveries

    This is a rough breakdown of what they do:

    AD System Group = THis is for the OUs
    AD Security Group = Finds all your Security Groups (Eg normal groups that you shove users and computers into)
    AD System = THis finds all the Computers
    AD User = Find the users..

    Cant think off hand what heartbeat and network do

  10. #8

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Ok, so what would i do to fix the issue in hand please?

  11. #9

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,731
    Thank Post
    1,272
    Thanked 1,644 Times in 1,100 Posts
    Blog Entries
    22
    Rep Power
    505
    Quote Originally Posted by Gatt View Post
    Cant think off hand what heartbeat and network do
    Network discovery just scans subnet looking for resources.
    The heartbeat is a bit misleading as it doesn't actually discover new resources but its about keeping current resources checking in and keeping records up to date.

  12. Thanks to sparkeh from:

    FN-GM (31st March 2012)

  13. #10

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    Run all of them, but set the first 4 to the Test OU parent so as not to interfere with the rest of the AD (once you are ready to "go live" you can recreate the rule to change the location)
    To get OU's and workstations you need to run:

    AD System Discovery & AD System Group Discovery - set as above - and as soon as possible in the polling schedule

    For network discovery (i think this discovers how AD is configured (Subnets, Domains, Sites, etc) set it up as follows:

    General Tab: enable with the Topology, Client and Client OS
    Subnets: I dont use
    Domains - I have set to the NETBIOS of my domain
    SNMP = Public (change if needed)
    SNMP Devices = I dont use
    DHCP = use if you have DHCP
    Schedule = As appropriate - this is basically how often it runs (eg i have it every monday )

    I would give it plenty of time to run - the bigger/slower the network - the longer it'll take
    Hopefully it should start working after about an hour but if its only a few then it could even be minutes

  14. Thanks to Gatt from:

    FN-GM (31st March 2012)

  15. #11

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,731
    Thank Post
    1,272
    Thanked 1,644 Times in 1,100 Posts
    Blog Entries
    22
    Rep Power
    505
    Quote Originally Posted by FN-GM View Post
    Ok, so what would i do to fix the issue in hand please?
    Sorry can I just clarify, you can see machines in the all systems collection but not in the collection you created?

  16. Thanks to sparkeh from:

    FN-GM (31st March 2012)

  17. #12

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    **Follow on from previous post as I cannot edit it for some reason**

    Once its done this then SCCM will know how your network is setup and your custom collections / queries will start to work

    **thanks for the update sparkeh**

  18. Thanks to Gatt from:

    FN-GM (31st March 2012)

  19. #13

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    @Gatt your a a gent! After enabling the first 4 it now works i can see my machine in my custom collection

    I didnt do the network one. The site is set to find clients based on the sites in AD sites and services. I was told not to use the network one if setup like this.

    Anyone know any good learning resources to get to grips with SCCM please?

    Thanks

  20. #14

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,731
    Thank Post
    1,272
    Thanked 1,644 Times in 1,100 Posts
    Blog Entries
    22
    Rep Power
    505
    Yep this site is a Godsend: SCCM 2007 Guides - www.windows-noob.com

  21. Thanks to sparkeh from:

    FN-GM (31st March 2012)

  22. #15

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    Def recommend windows-noob - great guides for SCCM...

  23. Thanks to Gatt from:

    FN-GM (31st March 2012)

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. How to create an Image backup?
    By lionsl2005 in forum How do you do....it?
    Replies: 0
    Last Post: 1st June 2009, 06:55 PM
  2. Creating an os 10.5 server replica
    By mactech03 in forum Mac
    Replies: 2
    Last Post: 8th November 2008, 11:52 PM
  3. Using nLite to create an EeePC install disk
    By Dos_Box in forum Netbooks, PDA and Phones
    Replies: 3
    Last Post: 6th September 2008, 02:12 PM
  4. Create an RSS Feed
    By rrichmond in forum Web Development
    Replies: 4
    Last Post: 8th June 2008, 09:23 PM
  5. Creating an aditional user space on NAS
    By nicholab in forum Wireless Networks
    Replies: 6
    Last Post: 14th February 2007, 11:23 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •