How to Find CPU Temperature with PowerShell on Windows

We are in the middle of the May and we can say once again that the summer season has finally arrived. The days are hot and the nights are warm. In this climate, we have to take special care of our electronics and computing devices. We should clean the interiors of our desktop and notebook computer if possible. Cleaning the dust from the fans and other parts makes the ventilation faster and more effective.

You should also check the CPU temperature of your PC before and after the cleaning. You can also do the same after replacing the thermal paste for your CPU heatsink.

Here is how you can use PowerShell on a Windows PC to find the current CPU temperature easily:

  1. Launch PowerShell. This can be done in many ways but the easiest way is to through the Start menu. For this, we click on the Start, then type “PowerShell”. Then we can choose to “Run as administrator” for “Windows PowerShell”.
  2. In the PowerShell window enter the following:
    wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CurrentTemperature
  3. It will show the CPU temperature in Kelvin units multiplied by 10. So it must be divided by 10 and then we subtract 273.15 from it to get the actual CPU temperature. We can do the math’s in the PowerShell window itself.CPU Temperature with PowerShell

In the above screenshot, PowerShell gave the CPU temperature as 3132. We divide it by 10 to get 313.2 which is CPU temperature in Kelvin. We subtract 273.15 from it to find 40.05 which is CPU temperature in Celsius.

You can verify this CPU temperature that we found through the PowerShell command by cross-checking with the temperatures shown by well know applications like HWInfo. You can download HWInfo from https://www.hwinfo.com/. It displays detailed information about your computer hardware along with the sensors data such as CPU temperature or hard disk drive temperature.

CPU Temperature with HWInfo

Similarly, if you want to find the CPU temperature in Fahrenheit units, then we multiply the temperature in Celsius by 9, divide by 5, and ten add 32 to it. All this can also be done in PowerShell.

Leave a Reply

Your email address will not be published. Required fields are marked *