counter customizable

WMI Query for all non Windows 7 clients

When I was setting up a new policy for Windows 7 we wanted the old policy to apply to all clients that are not Windows 7. To do a WMI filter in Active Directory you can use the following query.

 

select * from Win32_OperatingSystem WHERE NOT ((Version LIKE "6.1%") AND (ProductType = "1"))

 

Not Win7

 

Make sure to test this properly before using it in any production environment.

Mikael Karlsson posted at 2012-1-23 Category: Active Directory, Windows 7, WMI