Oluşturulan bir Group Policy’nin sadece istediğiniz işletim sistemlerine uygulanması için aşağıdaki WMI Filter’ları kullanarak sorgular yazabilirsiniz.

WINDOWS SERVER

Windows Server 2003 (DC)
select * from Win32_OperatingSystem WHERE Version like “5.2%” AND ProductType=”2″
Windows Server 2003 (non-DC)
select * from Win32_OperatingSystem WHERE Version like “5.2%” AND ProductType=”3″
Windows Server 2003 (x86, DC)
select * from Win32_OperatingSystem WHERE Version like “5.2%” AND ProductType=”2″ AND NOT OSArchitecture = “x64″
Windows Server 2003 (x86, non-DC)
select * from Win32_OperatingSystem WHERE Version like “5.2%” AND ProductType=”3″ AND NOT OSArchitecture = “x64″
Windows Server 2003 (x64, DC)
select * from Win32_OperatingSystem WHERE Version like “5.2%” AND ProductType=”2″ AND OSArchitecture = “x64″
Windows Server 2003 (x64, non-DC)
select * from Win32_OperatingSystem WHERE Version like “5.2%” AND ProductType=”3″ AND OSArchitecture = “x64″

Windows Server 2003 R2 (DC)
select * from Win32_OperatingSystem WHERE Version like “5.2.3%” AND ProductType=”2″
Windows Server 2003 R2 (non-DC)
select * from Win32_OperatingSystem WHERE Version like “5.2.3%” AND ProductType=”3″
Windows Server 2003 R2 (x86, DC)
select * from Win32_OperatingSystem WHERE Version like “5.2.3%” AND ProductType=”2″ AND NOT OSArchitecture = “x64″
Windows Server 2003 R2 (x86, non-DC)
select * from Win32_OperatingSystem WHERE Version like “5.2.3%” AND ProductType=”3″ AND NOT OSArchitecture = “x64″
Windows Server 2003 R2 (x64, DC)
select * from Win32_OperatingSystem WHERE Version like “5.2.3%” AND ProductType=”2″ AND OSArchitecture = “x64″
Windows Server 2003 R2 (x64, non-DC)
select * from Win32_OperatingSystem WHERE Version like “5.2.3%” AND ProductType=”3″ AND OSArchitecture = “x64″

Windows Server 2008 (DC)
select * from Win32_OperatingSystem WHERE Version like “6.0%” AND ProductType=”2″
Windows Server 2008 (non-DC)
select * from Win32_OperatingSystem WHERE Version like “6.0%” AND ProductType=”3″
Windows Server 2008 (x86, DC)
select * from Win32_OperatingSystem WHERE Version like “6.0%” AND ProductType=”2″ AND NOT OSArchitecture = “x64″
Windows Server 2008 (x86, non-DC)
select * from Win32_OperatingSystem WHERE Version like “6.0%” AND ProductType=”3″ AND NOT OSArchitecture = “x64″
Windows Server 2008 (x64, DC)
select * from Win32_OperatingSystem WHERE Version like “6.0%” AND ProductType=”2″ AND OSArchitecture = “x64″
Windows Server 2008 (x64, non-DC)
select * from Win32_OperatingSystem WHERE Version like “6.0%” AND ProductType=”3″ AND OSArchitecture = “x64″

Windows Server 2008 R2 (x64, DC)
select * from Win32_OperatingSystem WHERE Version like “6.1%” AND ProductType=”2″
Windows Server 2008 R2 (x64, non-DC)
select * from Win32_OperatingSystem WHERE Version like “6.1%” AND ProductType=”3″

Windows Server 2012 (x64, DC)
select * from Win32_OperatingSystem WHERE Version like “6.2%” AND ProductType=”2″
Windows Server 2012 (x64, non-DC)
select * from Win32_OperatingSystem WHERE Version like “6.2%” AND ProductType=”3″

Windows Server 2012 R2 (x64, DC)
select * from Win32_OperatingSystem WHERE Version like “6.3%” AND ProductType=”2″
Windows Server 2012 R2 (x64, non-DC)
select * from Win32_OperatingSystem WHERE Version like “6.3%” AND ProductType=”3″

WINDOWS CLIENT

Windows XP
select * from Win32_OperatingSystem WHERE (Version like “5.1%” or Version like “5.2%”) AND ProductType=”1″
Windows XP (x86)
select * from Win32_OperatingSystem WHERE (Version like “5.1%” or Version like “5.2%”) AND ProductType=”1″ AND NOT OSArchitecture = “x64″
Windows XP (x64)
select * from Win32_OperatingSystem WHERE (Version like “5.1%” or Version like “5.2%”) AND ProductType=”1″ AND OSArchitecture = “x64″

Windows 7
select * from Win32_OperatingSystem WHERE Version like “6.1%” AND ProductType=”1″
Windows 7 (x86)
select * from Win32_OperatingSystem WHERE Version like “6.1%” AND ProductType=”1″ AND NOT OSArchitecture = “x64″
Windows 7 (x64)
select * from Win32_OperatingSystem WHERE Version like “6.1%” AND ProductType=”1″ AND OSArchitecture = “x64″

Windows 8
select * from Win32_OperatingSystem WHERE Version like “6.2%” AND ProductType=”1″
Windows 8 (x86)
select * from Win32_OperatingSystem WHERE Version like “6.2%” AND ProductType=”1″ AND NOT OSArchitecture = “x64″
Windows 8 (x64)
select * from Win32_OperatingSystem WHERE Version like “6.2%” AND ProductType=”1″ AND OSArchitecture = “x64″

Windows 8.1
select * from Win32_OperatingSystem WHERE Version like “6.3%” AND ProductType=”1″
Windows 8.1 (x86)
select * from Win32_OperatingSystem WHERE Version like “6.3%” AND ProductType=”1″ AND NOT OSArchitecture = “x64″
Windows 8.1 (x64)
select * from Win32_OperatingSystem WHERE Version like “6.3%” AND ProductType=”1″ AND OSArchitecture = “x64″

Close