Microsoft.PowerShell.Archive

2.0.1-preview2

PowerShell module for creating and expanding archives.

Minimum PowerShell version

7.2.5

This is a prerelease version of Microsoft.PowerShell.Archive.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Microsoft.PowerShell.Archive -AllowPrerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Microsoft

Copyright

(c) Microsoft. All rights reserved.

Owners

Tags

Archive Zip Compress

Cmdlets

Compress-Archive Expand-Archive

Dependencies

This module has no dependencies.

Release Notes

       ## 2.0.1-preview2
       - Rewrite `Expand-Archive` cmdlet in C#
       - Added `-Format` parameter to `Expand-Archive`
       - Added `-WriteMode` parameter to `Expand-Archive`
       - Added support for zip64
       - Fixed a bug where the entry names of files in a directory would not be correct when compressing an archive
       - `Compress-Archive` skips writing an entry to an archive if an error occurs while doing so

       ## 2.0.1-preview1
       - Rewrite `Compress-Archive` cmdlet in C#
       - Added `-Format` parameter to `Compress-Archive`
       - Added `-WriteMode` parameter to `Compress-Archive`
       - Added support for relative path structure preservating when paths relative to the working directory are specified to `-Path` or `-LiteralPath` in `Compress-Archive`
       - Added support for zip64
       - Fixed a bug where empty directories would not be compressed
       - Fixed a bug where an abrupt stop when compressing empty directories would not delete the newly created archive

Version History

Version Downloads Last updated
2.0.1-preview2 (current version) 395 8/10/2022
2.0.1-preview1 99 7/25/2022
1.2.5 329,168 2/11/2020
1.2.4.0 6,596 1/6/2020
1.2.3.0 27,700 5/13/2019
1.2.2.0 19,115 11/13/2018
1.1.0.0 55,334 3/17/2017
1.0.1.0 1,881 4/21/2016