Improved the scripts

This commit is contained in:
Markus Fleschutz
2021-02-10 19:25:48 +01:00
parent 47459e0139
commit 60eb59b52a
20 changed files with 26 additions and 23 deletions

View File

@ -161,7 +161,7 @@ try {
$PasswordBase64 = [System.Convert]::ToBase64String($Password)
DecryptFile "$Path" -algorithm AES -keyAsPlainText $PasswordBase64 -removeSource
write-output "OK."
write-host -foregroundColor green "Done."
exit 0
} catch {
write-error "ERROR in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"