logo
  • 教程列表
  • SO官方文档
  • 档案模块
    • 使用通配符压缩存档
    • 使用 Compress-Archive 更新现有 ZIP
    • 使用 Expand-Archive 提取 Zip
  1. StackOverflow 文档
  2. PowerShell 教程
  3. 档案模块
  4. 使用 Compress-Archive 更新现有 ZIP

使用 Compress-Archive 更新现有 ZIP

Created: November-22, 2018

Compress-Archive -Path C:\Documents\* -Update -DestinationPath C:\Archives\Documents.zip
  • 这将添加或替换所有文件 Documents.zip 与 C:\Documents 中的新文件
  • 使用 Expand-Archive 提取 Zip
  • 使用通配符压缩存档

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明