Here is how to catch different Windows 10 OS release within WMI.
We used this the first time during a 1709 > 1909 Migration where we wanted to push customer startlayout.xml (Different new syntax and command for W10 1909)
with GPO ONLY to the 1909 clients. SBS/KMU seamless upgrades but often forget to handle GPO Policy side during the upgrade process. If you wan to modify
The startlayout/startmenu tiles this is often the first place you will need the WMI filters.
W10 Version Info:
Major Minor Version Build Info Released
10 0 1607 14393 2016 RTM LTSC 09/26/2016
10 0 1709 16299 2016 SAC 10/17/2017
10 0 1803 17134 2016 SAC 04/30/2018
10 0 1809 17763 2019 LTSC 11/13/2018
10 0 1903 18362 2019 SAC 5/21/2019
10 0 1909 18363 2019 SAC 11/12/2019
WMI Query to check which version you run of Windows 10.
NAMEPSPACE: Root\CIMv2
W10 1607:
SELECT * FROM Win32_OperatingSystem where version like '10%' and producttype='1' and BuildNumber = "14393"
W10 1709:
SELECT * FROM Win32_OperatingSystem where version like '10%' and producttype='1' and BuildNumber = "16299"
W10 1803:
SELECT * FROM Win32_OperatingSystem where version like '10%' and producttype='1' and BuildNumber = "17134"
W10 1809:
SELECT * FROM Win32_OperatingSystem where version like '10%' and producttype='1' and BuildNumber = "17763"
W10 1903:
SELECT * FROM Win32_OperatingSystem where version like '10%' and producttype='1' and BuildNumber = "18362"
W10 1909:
SELECT * FROM Win32_OperatingSystem where version like '10%' and producttype='1' and BuildNumber = "18363"
https://docs.microsoft.com/en-us/windows/win32/wmisdk/wql-sql-for-wmi
GPO WMI FILTER
Based on above info from us you can build the GPO filter for each W10 version.
Example: Use the Paessler WMI tester to check
If the query was successful then you get FEEDBACK from the Query (if not it would be empty)
Please also check these WMI related links from us:
http://www.butsch.ch/post/W10-Enable-Remote-Management-for-WMI-from-Commandline-silent.aspx
http://www.butsch.ch/post/How-to-identify-WSUSWindows-Update-Patches-installed-on-a-Windows-7-in-Batch.aspx
http://www.butsch.ch/post/Script-WMI-Fetch-modell-BIOS-Version-with-VB-like-SM_info-from-Dell.aspx
http://www.butsch.ch/post/Internet-Explorer-911-GPO-old-IE9-not-visible-WMI-checks.aspx
http://www.butsch.ch/post/IE11-GPO-Settings-PROXY-Explained-F5-F8.aspx