Compress-Archive Multiple Paths

Home / Blogs / Snippets / Compress-Archive Multiple Paths

Today it took me a while to get this out working for multiple paths (or other words multiple files) to get compressed using Compress-Archive command.

If you want to pass multiple paths to Compress-Archive command in PowerShell, give it with comma separation as in this video.

Leave a Reply

Your email address will not be published. Required fields are marked *