Expand-Archive
A cmdlet in PowerShell is used to extract files from a compressed archive. More information: https://learn.microsoft.com/powershell/module/microsoft.powershell.archive/expand-archive.
- Extract a ZIP file to a folder:
Expand-Archive -Path -DestinationPath
- Overwrite existing files:
Expand-Archive -Path -DestinationPath -Force
- Simulate extracting an archive without extracting anything:
Expand-Archive -Path -DestinationPath -WhatIf
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
