PowerShell / Microsoft.PowerShell.Archive

Archive PowerShell module contains cmdlets for working with ZIP archives
https://technet.microsoft.com/en-us/library/dn818910.aspx
MIT License
94 stars 37 forks source link

Fix error messages and warnings not showing #130

Closed ayousuf23 closed 2 years ago

ayousuf23 commented 2 years ago

There is a bug in the current build of the archive module where error messages and warnings are not showing. I believe this problem stems from the resource files.

Expected Behavior

This is an example of a scenario where a warning message is emitted. Compress-Archive -Path file1.txt -DestinationPath archive This command should result in the warning: WARNING: <text here>

Actual Behavior

The command emits the warning: WARNING: (the message is blank)