You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to open an encrypted archive with the wrong password, an exception is correctly thrown, but the -ErrorAction parameter appears to not be respected. For example:
Hello:
When attempting to open an encrypted archive with the wrong password, an exception is correctly thrown, but the -ErrorAction parameter appears to not be respected. For example:
Get-7Zip -ArchiveFileName .\Encrypted.7z -Password "WrongPassword" -ErrorAction SilentlyContinue
Is not silent. And "-ErrorAction Stop" does not stop.
Both Get-7Zip and Get-7ZipInformation appear to not respect -ErrorAction, but Expand-7Zip does (haven't tried the other cmdlets).
Thanks for the module!
Cheers,
J.
The text was updated successfully, but these errors were encountered: