PSCompression is a PowerShell Module that provides Zip and Gzip utilities for compression, expansion and management. It also solves a few issues with Zip compression existing in built-in PowerShell.
Cmdlet | Description |
---|---|
Lists entries from specified zip archives. This cmdlet is the main entry point for the ZipEntry cmdlets in this module. | |
Expands zip entries to a destination directory. |
|
Gets the content of one or more zip entries. |
|
Creates zip entries from specified path or paths. | |
Removes zip entries from one or more zip archives. | |
Renames zip entries from one or more zip archives. | |
Sets or appends content to a zip entry. | |
Similar capabilities as
|
Cmdlet | Description |
---|---|
Can compress one or more specified file paths into a Gzip file. | |
Expands Gzip Base64 input strings. | |
Can compress input strings into Gzip Base64 strings or raw bytes. | |
Expands Gzip compressed files to a destination path or to the success stream. |
Check out the docs for information about how to use this Module.
The module is available through the PowerShell Gallery:
Install-Module PSCompression -Scope CurrentUser
git clone 'https://github.com/santisq/PSCompression.git'
Set-Location ./PSCompression
./build.ps1
This module has no external requirements and is compatible with Windows PowerShell 5.1 and PowerShell 7+.
Contributions are more than welcome, if you wish to contribute, fork this repository and submit a pull request with the changes.