Reputation: 71
After using a powershell command to compress a folder:
powershell -Command "& {Compress-Archive -Update -Path 'C:\myfolder' -CompressionLevel Optimal -DestinationPath C:\myfolder.zip}"
is there another powershell command to password protect/encrypt the resulting myfolder.zip archived file?
Upvotes: 7
Views: 8115
Reputation: 2359
As of July 2020, Compress-Archive
and the command-line tool tar
do not provide encryption options. A 3rd-party app is required.
Upvotes: 5