SCCM2012 device\ user collection, how to group by OU
1. Select create a device collection in the sccm console.
Enter the name of your collection and restrict the selection of all mobile devices
3. After the next step, click add Rule selection to query rules.
Fourth, click on the icon number and the contents of the red box to select, and then confirm the return
5. The query sentence is as follows (you can copy it directly here and change the red text into your own OU)
Select SMS_R_System.SystemOUName from SMS_R_System where SMS_R_System.SystemOUName = "NCCN.INT/NEOSERVERS/IT"
6. The next step is completed, that is, it is successful. Of course, the user set is a similar operation.