CPU Temp and Fan Speed

(imported comment written by Lee Wei)

Looks like this is challenging because many systems do not report the info in WMI. Do a bunch of web searches…

I did find a WMI class for CPU temperature that works on my system.

The temperature is 0.1 degree Kelvin, hence the little extra code to convert to Fahrenheit.

(((it-2732)/10) as floating point * “1.8” as floating point + 32 as floating point) of integer value of selects “CurrentTemperature from MSAcpi_ThermalZoneTemperature” of wmi “root\wmi”

Lee Wei