mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-01 11:39:10 +01:00
Updated check-apps.ps1
This commit is contained in:
parent
a2014996f6
commit
f74ab0c771
@ -46,7 +46,7 @@ try {
|
|||||||
$statusMsg += ", $numUpdates upgrades available"
|
$statusMsg += ", $numUpdates upgrades available"
|
||||||
|
|
||||||
$crashDumps = GetCrashDumps
|
$crashDumps = GetCrashDumps
|
||||||
if ($crashDump -ne 0) { $statusIcon = "⚠️"; $statusMsg += ", $crashDumps crash dumps found" }
|
if ($crashDumps -ne 0) { $statusIcon = "⚠️"; $statusMsg += ", $crashDumps crash dumps found" }
|
||||||
}
|
}
|
||||||
Write-Host "$statusIcon $statusMsg"
|
Write-Host "$statusIcon $statusMsg"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
|
Loading…
Reference in New Issue
Block a user