mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Updated the manuals
This commit is contained in:
@ -28,7 +28,7 @@ Example
|
||||
```powershell
|
||||
PS> ./list-read-only-files.ps1 C:\Windows
|
||||
...
|
||||
✅ Found 107 read-only files within 📂C:\Windows in 50 sec
|
||||
✅ Found 107 read-only files within 📂C:\Windows in 50s.
|
||||
|
||||
```
|
||||
|
||||
@ -45,7 +45,7 @@ Script Content
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Lists all read-only files in a directory tree
|
||||
Lists read-only files in a directory tree
|
||||
.DESCRIPTION
|
||||
This PowerShell script scans a directory tree and lists all read-only files.
|
||||
.PARAMETER path
|
||||
@ -53,7 +53,7 @@ Script Content
|
||||
.EXAMPLE
|
||||
PS> ./list-read-only-files.ps1 C:\Windows
|
||||
...
|
||||
✅ Found 107 read-only files within 📂C:\Windows in 50 sec
|
||||
✅ Found 107 read-only files within 📂C:\Windows in 50s.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -74,7 +74,7 @@ try {
|
||||
}
|
||||
Write-Progress -completed " "
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
"✅ Found $count read-only files within 📂$path in $elapsed sec"
|
||||
"✅ Found $count read-only files within 📂$path in $($elapsed)s."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -82,4 +82,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)*
|
||||
*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)*
|
||||
|
Reference in New Issue
Block a user