mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-21 20:41:43 +02:00
Update check-swap-space.ps1
This commit is contained in:
parent
fd451e1ead
commit
b6a4db1c1f
@ -32,7 +32,7 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($Total -eq "0") {
|
if ($Total -eq "0") {
|
||||||
"⚠️ No swap space configured."
|
"⚠️ No swap space."
|
||||||
} elseif ($Free -lt $MinLevel) {
|
} elseif ($Free -lt $MinLevel) {
|
||||||
"⚠️ Swap space has only $Free GB left, $Total GB total!"
|
"⚠️ Swap space has only $Free GB left, $Total GB total!"
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user