mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-12 06:02:56 +02:00
Updated the manuals
This commit is contained in:
@ -6,7 +6,7 @@ This PowerShell script decrypts a file using the given password and AES encrypti
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./decrypt-file.ps1 [[-Path] <String>] [[-Password] <String>] [<CommonParameters>]
|
||||
/home/markus/Repos/PowerShell/scripts/decrypt-file.ps1 [[-Path] <String>] [[-Password] <String>] [<CommonParameters>]
|
||||
|
||||
-Path <String>
|
||||
Specifies the path to the file to decrypt
|
||||
@ -189,7 +189,7 @@ try {
|
||||
DecryptFile "$Path" -Algorithm AES -KeyAsPlainText $PasswordBase64 -RemoveSource
|
||||
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ file decrypted in $Elapsed sec"
|
||||
"✅ file decrypted in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -197,4 +197,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of decrypt-file.ps1 as of 08/15/2024 09:50:47)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of decrypt-file.ps1 as of 11/08/2024 12:34:48)*
|
||||
|
Reference in New Issue
Block a user