In this short post we will see the steps to create SCCM device collection for windows 10 computers. A query is a specific set of instructions that extract information about a defined set of objects. You can create queries and store them in the Configuration Manager 2012 R2 site database. By running a query, you search the database for information about the objects that match the query criteria. Configuration Manager comes with just a handful of queries out-of-the-box that illustrates a small part of the rich amount of data available. Microsoft has picked 10240 as the final build number of Windows 10. Surprisingly when Windows 10 RTM was launched the build number was 10240 and it wasn’t changed even after the Windows 10 final version was released. In my previous post, I have shown the steps to install System Center Configuration Manager Technical Preview 4. If you look at the TP updates, a lot of capabilities are added in very release and most of the focus is on managing Windows 10 computers.
Create SCCM Device Collection for Windows 10 Computers
To create windows 10 computers device collection, launch the Configuration Manage console, click Assets and Compliance, right click Device Collection and click Create Device Collection.
Specify Name of the collection, to set the limiting collection, click on Browse and choose the limiting collection. Click Next.
Membership Rules – Click on Add Rule > Query Rule.
In the Query Rule Properties window, provide a name to the query, click on Edit Query Statement.
Next, in the Query Statement Properties window, click on star icon to specify a criteria.
Set the Criterion type as Simple value. Choose the attribute class = Operating System, attribute = build number. Choose the operator as equal to and set the value to 10240 which is the build number of Windows 10 OS. Click OK.
If you need the query, here it is.
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 inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.BuildNumber = "10240"
Click on Next.
The device collection has been created. Wait for few minutes and you will see all the Windows 10 computers grouped into the collection.