mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-08 09:04:18 +01:00
Update check-cpu.ps1
This commit is contained in:
parent
6b4c562015
commit
0afac71d02
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user