We help IT Professionals succeed at work.

Organize SCCM Clients to match Organization Units.

jskfan
jskfan used Ask the Experts™
on
Organize SCCM Clients to match Organization Units.

When SCCM DIscovers Computers joined or non- joined to the domain, there is no way to tell on  which Active DIrectory OUs they reside , and there is no way also to tell if a computers is   non-joined to the domain.

I would like to know if there is a trick to that to organize SCCM Clients to match their locations in Active Directory

Thank you
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Shaun VermaakSenior Consultant
Awarded 2017
Distinguished Expert 2018

Commented:
You can create device collections based on OU. You can alternatively use Active Directory Site
https://thesysadminchannel.com/sccm-create-device-collections-based-on-ad-ous/

Author

Commented:
Can you please explain what the options on the screenshots below do ?
for instance: Resource Class, Query Statement,Attributes,Value.

Thank you  

s
Leading Engineer
Commented:
This explains everything:

https://www.hayesjupe.com/sccm-collections-the-basics/


Note: I will repeat previous advice: get some proper training or buy a book, e.g.
https://www.udemy.com/course/system-center-configuration-manager/
http://www.deploymentfundamentals.com/
Windows-noob OSD Guides is probably best for you: https://www.amazon.com/dp/9187445166/ref=cm_sw_su_dp

Author

Commented:
this link has examples of most useful queries:
https://www.andersrodland.com/ultimate-sccm-querie-collection-list/
Mike TLeading Engineer

Commented:
Hi,

You asked two questions in one. I answered the last question about "what do these settings mean".

With regards "is there a trick to that to organize SCCM Clients to match their locations in Active Directory"

The answer is collections: There is no "trick". You simply write a collection query for each and every OU.
Yes - I've seen Anders queries list before. They are mostly good. Of those the one that does what YOU want is:

"Collection based on OU.
Replace “domain.local/OU/OU” with your own domain name and OU that you need a collection of."

If you want to create lots of collections from lots of OUs, the answer is to use PowerShell. That's another (new) question if you want that!

Mike

Author

Commented:
Thank you Guys!
I will test it later