I'm trying to get the Win32_PortableBattery and
Win32_SystemEnclosure classes to work.
Oddly enough, both classes return empty results on my laptop. I'm
wondering if I'm using the WMI interface correctly or if I need
to be more explict in the arguments I pass to each class's
__init__?
Here are my
Preston, Tony, and Steven,
I found the following WMI class which sounds like it might be
useful.
Determine whether a computer is a tower, a mini-tower, a laptop,
and so on by using the Win32_SystemEnclosure class and checking
the value of the ChassisType property.
http://msdn.microsoft.com/en-us