mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-13 10:55:05 +02:00
Update check-swap-space.ps1
This commit is contained in:
@ -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 {
|
||||||
|
Reference in New Issue
Block a user