How to create collection of MDM enrolled Macs

1 users found this article helpful


How to build SCCM Device collection containing PMM MDM enrolled Macs?


  1. Launch SCCM Console and proceed to "Assets and Compliance" → "Device Collections"
  2. Press "Create" → "Create Device Collection";
  3. Give it a name and specify "All Mac OS X Systems" as a limiting collection, click "Next":

  4. Click "Add Rule" → "Query Rule":

  5. Give the rule some name and  click "Edit Query Statement";
  6. Click on "Show Query Language" and paste the code 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.ClientVersion like "%-PMA" and SMS_R_System.AgentName like "PMM_MDM_DISCOVERY_AGENT"
  7. Click "OK","Next" and "Close";
  8. Wait for the collection to update its members.

Was this article helpful?

Tell us how we can improve it.