Updated the manuals

This commit is contained in:
Markus Fleschutz
2024-11-08 12:35:11 +01:00
parent 53eb60baa3
commit 54635c32da
636 changed files with 5289 additions and 2027 deletions

View File

@ -6,7 +6,7 @@ This PowerShell script calculates and prints the SHA256 checksum of the given fi
Parameters
----------
```powershell
PS> ./get-sha256.ps1 [[-file] <String>] [<CommonParameters>]
/home/markus/Repos/PowerShell/scripts/get-sha256.ps1 [[-file] <String>] [<CommonParameters>]
-file <String>
Specifies the path to the file
@ -26,7 +26,7 @@ Example
-------
```powershell
PS> ./get-sha256 C:\MyFile.txt
SHA256 hash is: CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E
SHA256 hash is: CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E
```
@ -50,7 +50,7 @@ Script Content
Specifies the path to the file
.EXAMPLE
PS> ./get-sha256 C:\MyFile.txt
✔️ SHA256 hash is: CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E
SHA256 hash is: CEB4AD71524996EB8AA3ADCE04F1E45636A4B58B8BF4462E6971CF2E56B4293E
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -64,7 +64,7 @@ try {
$Result = get-filehash $file -algorithm SHA256
"✔️ SHA256 hash is: $($Result.Hash)"
" SHA256 hash is: $($Result.Hash)"
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
@ -72,4 +72,4 @@ try {
}
```
*(generated by convert-ps2md.ps1 using the comment-based help of get-sha256.ps1 as of 08/15/2024 09:50:48)*
*(generated by convert-ps2md.ps1 using the comment-based help of get-sha256.ps1 as of 11/08/2024 12:34:49)*