mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-19 08:52:05 +02:00
Add check-cpu-temp.ps1
This commit is contained in:
@@ -15,10 +15,14 @@ try {
|
||||
|
||||
if ($IsLinux) {
|
||||
& check-drive-space.ps1 /
|
||||
if ($lastExitCode -ne "0") { throw "check-drive-space.ps1 failed" }
|
||||
} else {
|
||||
& check-drive-space.ps1 C
|
||||
if ($lastExitCode -ne "0") { throw "check-drive-space.ps1 failed" }
|
||||
}
|
||||
if ($lastExitCode -ne "0") { throw "check-drive-space.ps1 failed" }
|
||||
|
||||
& check-cpu-temp.ps1
|
||||
if ($lastExitCode -ne "0") { throw "check-cpu-temp.ps1 failed" }
|
||||
|
||||
if (-not($IsLinux)) {
|
||||
& check-windows-system-files.ps1
|
||||
|
Reference in New Issue
Block a user