Working on a script/module that involves querying the battery (in a laptop, for the moment) via WMI. Is there any reason to use the classes in root\CIMv2 versus those in root\wmi? I ask particularly since I have seen some odd things in my testing when looking at the classes Win32_Battery and CIM_Battery, as well as a couple of other ones under root\CIMv2. Currently I’m looking at the classes in root\wmi, and I don’t seem to have the same issues.
Just looking for some thoughts.