Link to home
Start Free TrialLog in
Avatar of Kenoboy
Kenoboy

asked on

WMI filter for xp and 7

We currently have many GPO's with a WMI filter for all machines that are windows xp pro, now we have some windows 7 machines and the GPO's are being filtered out. how do i change the filter to allow for xp pro "or" windows 7?
ASKER CERTIFIED SOLUTION
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kenoboy
Kenoboy

ASKER

I used the second suggestion, just had to add (and ProductType = "1" to denote a client OS. server versions are 5.% also. this is the query i used:

Select * from Win32_OperatingSystem where Version like "5.%" and ProductType = "1" OR Version like "6.%" and ProductType = "1"

Thank you.
Nice work!!