Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED Create SCCM Collection based on OU query

  • Thread starter Thread starter araimondi
  • Start date Start date
  • Replies Replies 3
  • Views Views 7K
Status
Not open for further replies.

araimondi

Well-Known Member
Messages
78
Reaction score
2
Points
8
Hi guys

I need to create a collection on a OU .. I did it query based and it seems only 1366 populate even though the OU has over 2000 machines. I have AD and Group discovery setup correctly i cant figure out why some entries in the collection are missing.. Any help will be appreciated
 
You can try with with query and let us know if it works :

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 "%NAME-OF-OU%"
 
Status
Not open for further replies.
Back
Top