Updated the manuals

This commit is contained in:
Markus Fleschutz
2024-08-15 09:51:46 +02:00
parent 654d1a18d0
commit e1ffab5509
633 changed files with 2120 additions and 973 deletions

View File

@@ -35,7 +35,7 @@ Example
-------
```powershell
PS> ./check-drive-space.ps1 C
Drive C: has 442GB free (56% of 1TB used)
Drive C: uses 56% of 1TB - 442GB free
```
@@ -61,7 +61,7 @@ Script Content
Specifies the minimum level in bytes (10GB by default)
.EXAMPLE
PS> ./check-drive-space.ps1 C
✅ Drive C: has 442GB free (56% of 1TB used)
✅ Drive C: uses 56% of 1TB - 442GB free
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@@ -101,7 +101,7 @@ try {
Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is nearly full, $(Bytes2String $free) free"
} else {
[int64]$percent = ($used * 100) / $total
Write-Host "✅ Drive $driveName has $(Bytes2String $free) free ($percent% of $(Bytes2String $total) used)"
Write-Host "✅ Drive $driveName uses $percent% of $(Bytes2String $total) - $(Bytes2String $free) free"
}
exit 0 # success
} catch {
@@ -110,4 +110,4 @@ try {
}
```
*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 05/19/2024 10:25:17)*
*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 08/15/2024 09:50:45)*