GPO WMI Filter for only Windows Server 2008 R2 or Server 2008 x86
Posted on 2012-08-14
Hi, I want to have a WMI filter running on a GPO so that the GPO only runs when the logged on machine is either of these three OSes:
Windows Server 2008 R2 SP1 (Running 'ver' says [Version 6.1.7601])
Windows Server 2008 Standard without Hyper-V SP2 32-bit (Running 'ver' says [Version 6.0.6002])
I don't want Server 2003 involved.
I also want it to only run on a server, not a domain controller, or a workstation.
Initially, I had an WMI filter only for the R2 server, i.e.
SELECT Version, ProductType FROM Win32_OperatingSystem WHERE Version = '6.1.7601' AND ProductType = '3'
This has been working well for me, but I want to incorporate the 2008 32-bit server into it and I'm not quite sure how to sort out the boolean AND/OR business.