(imported topic written by deschodt91)
I’m trying to exclude Docked laptops from a push using relevance.
I thought I found a great solution on this board using WMI:
(if it contains “{1}” then “Other” else if it contains “{2}” then “Unknown” else if it contains “{3}” then “Desktop” else if it contains “{4}” then “Low Profile Desktop” else if it contains “{5}” then “Pizza Box” else if it contains “{6}” then “Mini Tower” else if it contains “{7}” then “Tower” else if it contains “{8}” then “Portable” else if it contains “{9}” then “Laptop” else if it contains “{10}” then “Notebook” else if it contains “{11}” then “Handheld” else if it contains “{12}” then “Docking Station” else if it contains “{13}” then “All-in-One” else if it contains “{14}” then “Sub-Notebook” else if it contains “{15}” then “Space Saving” else if it contains “{16}” then “Lunch Box” else if it contains “{17}” then “Main System Chassis” else if it contains “{18}” then “Expansion Chassis” else if it contains “{19}” then “Sub-Chassis” else if it contains “{20}” then “Bus Expansion Chassis” else if it contains “{21}” then “Peripheral Chassis” else if it contains “{22}” then “Storage Chassis” else if it contains “{23}” then “Rack Mount Chassis” else if it contains “{24}” then “Sealed-Case PC” else “Unknown”) of ((select objects (“ChassisTypes from Win32_SystemEnclosure”) of wmi as string))
this is very good, thanks to the original poster, but this returns most of our “docked” laptops as “notebooks” (10, not 12), not docking station. Is there anyone who came up with a solution, something else that changes in XP when docked that I can key off in relevance ? Thanks !