mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-08 22:10:14 +01:00
Update check-cpu.ps1
This commit is contained in:
parent
be18af2e28
commit
9060f0099a
@ -42,7 +42,7 @@ try {
|
|||||||
} else {
|
} else {
|
||||||
$Temp = "$($Celsius)°C cold"
|
$Temp = "$($Celsius)°C cold"
|
||||||
}
|
}
|
||||||
"✅ $DeviceName ($($Details.DeviceID), $($Details.MaxClockSpeed)MHz, $Temp)"
|
"✅ $DeviceName ($($Details.DeviceID), $($Details.MaxClockSpeed)MHz, $Temp)."
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
Reference in New Issue
Block a user