GitHub - PowerShell/Microsoft.PowerShell.Archive: Archive PowerShell module contains cmdlets for working with ZIP archives
Repository navigation
Microsoft.PowerShell.ArchivePublic
About
Archive PowerShell module contains cmdlets for working with ZIP archives
technet.microsoft.com/en-us/library/dn818910.aspxResources
Readme MIT licenseCode of conduct
Code of conductContributing
ContributingSecurity policy
Security policy Activity Custom propertiesStars
99 starsWatchers
19 watchingForks
47 forks Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
History
96 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| .azdevops | .azdevops | ||
| .github | .github | ||
| Tests | Tests | ||
| src | src | ||
| tools | tools | ||
| .gitattributes | .gitattributes | ||
| .gitignore | .gitignore | ||
| .globalconfig | .globalconfig | ||
| Build.ps1 | Build.ps1 | ||
| LICENSE | LICENSE | ||
| Microsoft.PowerShell.Archive.sln | Microsoft.PowerShell.Archive.sln | ||
| README.md | README.md | ||
Repository files navigation
Microsoft.PowerShell.Archive Module
Note
This repo is not currently actively being developed although we will actively address any security issues
Microsoft.PowerShell.Archive module contains cmdlets that let you create and extract ZIP archives.
| Azure CI |
|---|
Compress-Archive examples
- Create an archive from an entire folder including subdirectories:
Compress-Archive -Path C:\Reference -DestinationPath C:\Archives\Draft.zip - Update an existing archive file:
Compress-Archive -Path C:\Reference\* -DestinationPath C:\Archives\Draft.zip -Update
Expand-Archive examples
- Extract the contents of an archive in the current folder:
Expand-Archive -Path SampleArchive.zip - Use -Force parameter to overwrite existing files by those in the archive:
Expand-Archive -Path .\SampleArchive.zip -DestinationPath .\ExistingDir -Force
Code of Conduct
Please see our Code of Conduct before participating in this project.
Security Policy
For any security issues, please see our Security Policy .
About
Archive PowerShell module contains cmdlets for working with ZIP archives
technet.microsoft.com/en-us/library/dn818910.aspx