Hello,
I am trying to create a WMI Filter that determine what type enclosure a computer has so that I can determine if the system is a laptop. I have tried the query below but it fail even when I drop the objChassis. I used MS Scriptomatic tool to verify that I am using the correct WMI NameSpace, class and object. Can someone please tell me what I am doing wrong?
root\CIMv2 SELECT * FROM Win32_systemEnclosure WHERE objChassis.ChassisTypes = 10
I am trying to create a WMI Filter that determine what type enclosure a computer has so that I can determine if the system is a laptop. I have tried the query below but it fail even when I drop the objChassis. I used MS Scriptomatic tool to verify that I am using the correct WMI NameSpace, class and object. Can someone please tell me what I am doing wrong?
root\CIMv2 SELECT * FROM Win32_systemEnclosure WHERE objChassis.ChassisTypes = 10