All Projects → PowerShell → Microsoft.PowerShell.Archive

PowerShell / Microsoft.PowerShell.Archive

Licence: MIT License
Archive PowerShell module contains cmdlets for working with ZIP archives

Programming Languages

powershell
5483 projects

Microsoft.PowerShell.Archive Module

Microsoft.PowerShell.Archive module contains cmdlets that let you create and extract ZIP archives.

AppVeyor (Windows) Travis CI (Linux)
Build status Build Status

Compress-Archive examples

  1. Create an archive from an entire folder including subdirectories: Compress-Archive -Path C:\Reference -DestinationPath C:\Archives\Draft.zip
  2. Update an existing archive file: Compress-Archive -Path C:\Reference\* -DestinationPath C:\Archives\Draft.zip -Update

Expand-Archive examples

  1. Extract the contents of an archive in the current folder: Expand-Archive -Path SampleArchive.zip
  2. Use -Force parameter to overwrite existing files by those in the archive: Expand-Archive -Path .\SampleArchive.zip -DestinationPath .\ExistingDir -Force
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].