Hi,
We were formally using Win32_Battery to find mobile devices but this has became a problem when desktop computers are connected to a UPC. The desktops are being wrongly identified as mobile devices and then mobile device policies are being applied to them.
I created a GPO with a WMI Filter:
Namespace: root\CIMv2
Query: select * from Win32_SystemEnclosure where ChassisTypes = "{8}" or ChassisTypes = "{9}" or ChassisTypes = "{10}" or ChassisTypes = "{11}" or ChassisTypes = "{12}" or ChassisTypes ="{14}" or ChassisTypes = "{18}" or ChassisTypes = "{21}"
Although the WMI query examples that I have seen do not use { } in the query, when I used it without { }, I did not see the new GP applied to my test device. When I use PowerShell to get the ChassisTypes for my test device, it returns {9}. WMIC also returns {9}.
The status right now is that the new GP is not being applied with either version of the query above (with/without {}). What do I need to do to get a GPO to apply to mobile devices?