mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-31 19:26:27 +02:00
Update check-health.ps1
This commit is contained in:
parent
5db15b88df
commit
37f51333aa
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
$Hostname = $(hostname)
|
$Hostname = $(hostname)
|
||||||
$Healthy = 1
|
$Healthy = 1
|
||||||
"Checking health of $Hostname ..."
|
"Checking $Hostname's health..."
|
||||||
|
|
||||||
& "$PSScriptRoot/check-swap-space.ps1"
|
& "$PSScriptRoot/check-swap-space.ps1"
|
||||||
if ($lastExitCode -ne "0") { $Healthy = 0 }
|
if ($lastExitCode -ne "0") { $Healthy = 0 }
|
||||||
|
Loading…
Reference in New Issue
Block a user