Microsoft.PowerShell.Archive icon indicating copy to clipboard operation
Microsoft.PowerShell.Archive copied to clipboard

Add gzip (`.gz`) support

Open o-l-a-v opened this issue 1 year ago • 0 comments

Summary of the new feature / enhancement

.NET and .NET Framework supports Gzip already, has for a long time:

  • https://learn.microsoft.com/en-us/dotnet/api/system.io.compression.gzipstream

Here's an example function that makes it easy to use in PowerShell:

  • https://scatteredcode.net/download-and-extract-gzip-tar-with-powershell/

Thus it makes sense to add support for gzip (.gz) for cmdlets like Expand-Archive.

Proposed technical implementation details (optional)

No response

o-l-a-v avatar Dec 19 '23 11:12 o-l-a-v