This blog was requested by one of the partners I work with. At times, you want to monitor the device temperatures and fan settings; you don’t want a machine to be constantly making noise because it’s having a hard time cooling down. While I’m not really one of the engineers that firmly believes in a high impact of temperature on normal workstations I can understand the annoyance the extra noise brings.
To monitor this, we’re using WMI/CIM. Unfortunately, not all manufacturers publish this information to WMI. If the script fails with “Could not get CPU temperature. Your manufacturer might not support this.” Then this is the case. You’ll be able to use external tools to get the temperature then.
And that’s it! as always, Happy PowerShelling!