mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-15 10:28:55 +01:00
Update check-swap-space.ps1
This commit is contained in:
parent
23dc4c2f82
commit
e2a98f1e50
@ -36,6 +36,8 @@ try {
|
|||||||
"⚠️ No swap space!"
|
"⚠️ No swap space!"
|
||||||
} elseif ($Free -lt $MinLevel) {
|
} elseif ($Free -lt $MinLevel) {
|
||||||
"⚠️ Swap space has only $Free GB of $Total GB left to use!"
|
"⚠️ Swap space has only $Free GB of $Total GB left to use!"
|
||||||
|
} elseif ($Used -eq 0) {
|
||||||
|
"✅ Swap space of $Total GB is unused."
|
||||||
} elseif ($Used -lt $Free) {
|
} elseif ($Used -lt $Free) {
|
||||||
"✅ Swap space uses $Used GB of $Total GB."
|
"✅ Swap space uses $Used GB of $Total GB."
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user