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 @@ try {
write-warning "Swap space has only $Free GB left to use! ($Used GB out of $Total GB in use, minimum is $MinLevel GB)"
exit 1
}
write-host -foregroundColor green "✔️ $Free GB left on swap space ($Used GB of $Total GB used)"
"✔️ $Free GB left on swap space ($Used GB of $Total GB used)"
exit 0
} catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"