mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Improve the scripts
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user