I'm in a situation where I need to combine 2 WMI filters and need some help.
Situation:
Funtional level 2003 domain with mixed client environment (Windows XP and 7) where we used a WMI filter to determine which GPO needs to be applied on which OS.
The filter used for this:
Select Version, ProductType FROM Win32_OperatingSystem WHERE Version >= "6.1" AND ProductType ="1"
Now one of our GPO is for folder redirection of the My Documents folder where at one of our sites these folders are split over 2 file servers (because of workload on the servers). the deviation is done by username so all users with a username from A to K are on server1 and from L to Z on server 2.
First I would need a WMI filter that can query if the username is starting with A to K or L to Z and then combine it with the above query to target the correct OS.
I would also just split the users to 2 OU's if you have the policies created, if you do not want to do that for others reason then create 2 security groups add the group to the permisssions of the policy while removing the default auithenticated users group.
juriang
ASKER
Thanks for the suggestions made.
Does this mean it is not possible to combine 2 WMI filters in 1?
snusgubben
You can chain queries together from different classes:
But I would avoid WMI queries if you can, so why not just make two Security Groups, (A and B).
On the Folder Redirection policy, choose: Target -> "Advanced - Specify locations for various user groups".
Group A -> redirect to the A-K file server and Group B > redirect to L-Z file server.