I am using "Select * from Win32_Battery where availability > 0" to install software only for laptops and this works.
Now I need a query to install software only on Desktop PC's. If I'm using "Select * from Win32_Battery where (BatteryStatus = 0)", it results in "The WMI condition expression is evaluated to be FALSE" but I need to have a query which returns TRUE (it is not MDT Task Sequence) any suggestions please..?