WMI-Filter:
Abfrage bzgl. Operationsystem bzw. ProductType etc.
| Version | |
| 5.1 | Windows XP |
| 5.2 | Windows Server 2003 |
| 6.0 | Windows Vista / Windows Server 2008 |
| 6.1 | Windows 7 / Windows Server 2008 R2 |
| 6.2 |
Windows 8 / Windows Server 2012 |
| 6.3 |
Windows 8.1 / Windows Server 2012 R2 |
| 10.0 | Windows 10 / Windows Server 2016 |
Ab Version 6.0 des Betriebssystems wird nun auch eine Unterscheidung bzgl. ProductType gemacht:
| Product | |
| 1 | Client |
| 2 | Domänencontroller |
| 3 | kein Domänencontroller |
mögliche Abfrage-Werte:
ProductType="<>" # Bsp: "1"
Version like"<>%" # Bsp: "6.3%"
OSArchitecture="<>" # Bsp: "64-Bit"
Beispiel:
WMI-Abfrage:
select * from Win32_OperatingSystem WHERE (Version like "6.3%" AND ProductType "1" AND OSArchitecture="64-Bit"
--> Windows 8.1 Clients 64 Bit