mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-15 23:28:07 +02:00
Updated the manuals
This commit is contained in:
@ -6,7 +6,7 @@ This PowerShell script verifies the data integrity of all Git repositories in a
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./check-repos.ps1 [[-parentDir] <String>] [<CommonParameters>]
|
||||
/home/markus/Repos/PowerShell/scripts/check-repos.ps1 [[-parentDir] <String>] [<CommonParameters>]
|
||||
|
||||
-parentDir <String>
|
||||
Specifies the file path to the parent folder
|
||||
@ -29,7 +29,7 @@ PS> ./check-repos.ps1 C:\Repos
|
||||
⏳ Checking parent folder 📂C:\Repos... 16 subfolders
|
||||
⏳ Checking 📂rust repository (1/16)...
|
||||
...
|
||||
✔️ Checked all 16 Git repos in 📂C:\Repos in 356s.
|
||||
✅ Checked all 16 Git repos in 📂C:\Repos in 356s.
|
||||
|
||||
```
|
||||
|
||||
@ -56,7 +56,7 @@ Script Content
|
||||
⏳ Checking parent folder 📂C:\Repos... 16 subfolders
|
||||
⏳ Checking 📂rust repository (1/16)...
|
||||
...
|
||||
✔️ Checked all 16 Git repos in 📂C:\Repos in 356s.
|
||||
✅ Checked all 16 Git repos in 📂C:\Repos in 356s.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -83,7 +83,7 @@ try {
|
||||
}
|
||||
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
"✔️ Checked all $numFolders Git repos in 📂$parentDir in $($elapsed)s."
|
||||
"✅ Checked all $numFolders Git repos in 📂$parentDir in $($elapsed)s."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -91,4 +91,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-repos.ps1 as of 08/15/2024 09:50:46)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-repos.ps1 as of 11/08/2024 12:34:47)*
|
||||
|
Reference in New Issue
Block a user