If you would like to create a collection based on a specific Operating System in SCCM.

1.  From Assets and Compliance, Right-Click on Device Collections then click Create Device Collection.

2.  On the General page, provide a name for the collection, eg. Windows 10 Devices, then Browse to the Limiting Collection Desktops, then click Next

Create Device Collection Wizard

3.  On the Membership Rules page, click on Add Rule then select Query Rule.

Define Membership Rules

4.  On the Query Rule Properties popup box, enter the name Microsoft Windows NT Workstation 10 (this is what we will be querying for).  Then Click on Edit Query Statement

Query Rule Properties

5.  In the Query Statement Properties window.  Click on the Criteria tab.  Then click on the New Criterion Property icon 

Query Statement Properties

6.  In the Criterion Properties window.  Use the following Settings, then click OK

Criterion TypeSimple Value
WhereSystem Resource – Operating System Name and Version
OperatorIs equal to
ValueMicrosoft Windows NT Workstation 10.0

Criterion Properties

7.  On the Query Statement Properties window.  Click OK

Query Statement Properties

8.  On the Query Rule Properties window, click OK

Query Rule Properties

9.  On the Define Membership Rules page, click Next

Define Membership Rules

10.  On the Summary page, click Next

Collection Summary

10.  On the Completion page, click Close

11.  After evaluating the collection should show all Windows 10 Devices

Windows 10 Devices Collection