Improve the scripts

This commit is contained in:
Markus Fleschutz
2021-04-17 18:54:45 +02:00
parent 9aa997ebf5
commit f78a9390cb
9 changed files with 15 additions and 20 deletions

View File

@ -31,7 +31,7 @@ if ($lastExitCode -ne "0") { $Healthy = 0 }
if ($lastExitCode -ne "0") { $Healthy = 0 }
if ($Healthy) {
write-host -foregroundColor green "✔️ $Hostname is healthy"
"✔️ $Hostname is healthy"
exit 0
} else {
write-warning "$Hostname is NOT healthy"