Update check-cpu.ps1

This commit is contained in:
Markus Fleschutz 2023-07-21 21:39:29 +02:00
parent 6b4c562015
commit 0afac71d02

View File

@ -51,10 +51,10 @@ try {
$Temp = "no temp" $Temp = "no temp"
} elseif ($Celsius -gt 50) { } elseif ($Celsius -gt 50) {
$Temp = "$($Celsius)°C" $Temp = "$($Celsius)°C"
$Status = "" $Status = ""
} elseif ($Celsius -lt 0) { } elseif ($Celsius -lt 0) {
$Temp = "$($Celsius)°C" $Temp = "$($Celsius)°C"
$Status = "" $Status = ""
} else { } else {
$Temp = "$($Celsius)°C" $Temp = "$($Celsius)°C"
} }