ZOYKU火線榜

powershell/microsoft.powershell.archive技術文件

Archive PowerShell module contains cmdlets for working with ZIP archives

多語言回退提示:當前倉庫原作者暫未發布在地化文件,已為您無縫切換至官方英文原版(English),排版及程式碼實例完整保真。
極速安裝
git clone https://github.com/powershell/microsoft.powershell.archive.git

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
Build Status
  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
  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

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.

文件鏡像歸檔自 GitHub 官方源路徑 · 造訪原專案 GitHub
最後同步快照:2026-11-08