mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-07 16:44:22 +01:00
Merge branch 'main' of github.com:fleschutz/PowerShell
This commit is contained in:
commit
b39ccc6640
@ -52,7 +52,7 @@ try {
|
||||
} elseif ($free -lt $minLevel) {
|
||||
Write-Output "⚠️ Swap space has only $(MB2String $free) of $(MB2String $total) free"
|
||||
} elseif ($used -lt 5) {
|
||||
Write-Output "✅ Swap space has all $(MB2String $free) free"
|
||||
Write-Output "✅ Swap space unused - $(MB2String $free) free"
|
||||
} else {
|
||||
[int64]$percent = ($used * 100) / $total
|
||||
Write-Output "✅ Swap space uses $percent% of $(MB2String $total) - $(MB2String $free) free"
|
||||
|
Loading…
Reference in New Issue
Block a user