This list is no longer updated, thus the information is no longer reliable.
You can see the latest version (from october 2022) here
function Get-Temperature { | |
$t = Get-WmiObject MSAcpi_ThermalZoneTemperature -Namespace "root/wmi" | |
$currentTempKelvin = $t.CurrentTemperature / 10 | |
$currentTempCelsius = $currentTempKelvin - 273.15 | |
$currentTempFahrenheit = (9/5) * $currentTempCelsius + 32 | |
return $currentTempCelsius.ToString() + " C : " + $currentTempFahrenheit.ToString() + " F : " + $currentTempKelvin + "K" | |
} |
This list is no longer updated, thus the information is no longer reliable.
You can see the latest version (from october 2022) here