Below you will find pages that utilize the taxonomy term “powershell compression”
Posts
Gzip creation in PowerShell – Gzip-FileSimple.ps1
I have a need to compress some of the data I am exporting using PowerShell so I figured why not use PowerShell to do it? I did not want to have a dependency on the Community Extensions even though they have solved this problem already. Luckily in newer versions of .Net there is the System.IO.Compression class.
Here is my code which is based off of the Microsoft example for the class.