G
Guest
Hi,
I am looking to use WMI Filtering to apply a group policy to our domain. I'm
looking to filter based on Chassis type, predominately I want the filter to
determine whether it will only apply to Desktops or only to Laptops/Docking
stations.
I have used the MS support website to attempt to get some code together and
I have come up with the following –
Select ChassisTypes from WCIM_Chassis where ChassisTypes = "9" or
ChassisTypes = "12"
Sadly its not working, the above code is supposed to reflect the policy is
only to apply to Laptops/Docking stations. But I get a message when running
gpresult on a laptop that this has been NOT APPLIED.
Can you confirm if this code is correct, incorrect or nowhere near even
comprehensible!!
Thanks
Andrew
I am looking to use WMI Filtering to apply a group policy to our domain. I'm
looking to filter based on Chassis type, predominately I want the filter to
determine whether it will only apply to Desktops or only to Laptops/Docking
stations.
I have used the MS support website to attempt to get some code together and
I have come up with the following –
Select ChassisTypes from WCIM_Chassis where ChassisTypes = "9" or
ChassisTypes = "12"
Sadly its not working, the above code is supposed to reflect the policy is
only to apply to Laptops/Docking stations. But I get a message when running
gpresult on a laptop that this has been NOT APPLIED.
Can you confirm if this code is correct, incorrect or nowhere near even
comprehensible!!
Thanks
Andrew