title: Is there a way to password encrypt a compressed archive in powershell without using 3rd party tools?
body: <p>After using a powershell command to compress a folder:</p>
  
  <pre><code>powershell -Command "&amp; {Compress-Archive -Update -Path 'C:\myfolder' -CompressionLevel Optimal -DestinationPath C:\myfolder.zip}"
  </code></pre>
  
  <p>is there another powershell command to password protect/encrypt the resulting myfolder.zip archived file?</p>