Hola amigos,
Aqui os dejo unos filtros WMI :
Windows Server 2019
Select * from Win32_OperatingSystem where Version like "10.0.17763"
Windows Server 2016
Select * from Win32_OperatingSystem where Version like "10.0.14393"
Espero que os sirva!