To create a SCCM (System Center Configuration Manager) collection for each Windows version, you can use query rules based on the Windows version. Here’s a general approach to create such collections:
- Navigate to Assets and Compliance in the SCCM console.
- Select Device Collections and then click on Create Device Collection.
- Provide a name for the collection and choose a limiting collection.
- Click on Add Rule and select Query Rule.
- In the Query Rule Properties dialog, specify a unique name for the query.
- Use the Edit Query Statement option to create a WQL (WMI Query Language) query that filters devices based on the Windows version. For example:
Adjust the query to match the specific version of Windows you want to target.SELECT * FROM SMS_R_System WHERE SMS_R_System.OperatingSystemNameandVersion LIKE '%Windows 10%' - After configuring the query, click OK and complete the wizard.
Repeat these steps for each Windows version you want to create a collection for, modifying the query accordingly.
This method allows you to dynamically manage collections based on the Windows versions running on your devices.