SCCM - Create Device Collection From Active Directory OU

This is one is easy, Create a Device Collection in SCCM.

Add A Query Rule using the below.

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 like '%Company.ORG/Company Computers/AnotherOU/NORTH%'