mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-16 11:40:53 +01:00
Update check-swap-space.ps1
This commit is contained in:
parent
e5e76c1247
commit
b03cb29ec8
@ -44,11 +44,11 @@ try {
|
||||
}
|
||||
}
|
||||
if ($Total -eq 0) {
|
||||
"⚠️ No swap space!"
|
||||
"⚠️ No swap space configured!"
|
||||
} elseif ($Free -lt $MinLevel) {
|
||||
"⚠️ Only $(MB2String $Free) of $(MB2String $Total) swap space left to use!"
|
||||
} elseif ($Used -eq 0) {
|
||||
"✅ $(MB2String $Total) swap space ready to use"
|
||||
"✅ Swap space with $(MB2String $Total) reserved"
|
||||
} elseif ($Used -lt $Free) {
|
||||
"✅ Swap space uses $(MB2String $Used) of $(MB2String $Total)"
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user