Extract a ZIP archive to a folder
Build a paste-ready command, then review its compatibility and effects before running it.
Expand-Archive -Path <archive-file> -DestinationPath <destination>Complete required fields to copy the generated command.
Compatibility
WindowsVerified for Windows using powershell syntax.
Operational knowledgereview due 2027-01-19
RequirementsExpand-ArchiveExpand-Archive must be installed and available on PATH.
Version supportExpand-Archive Current supported releasesVerified for windows using powershell syntax; consult compatibility notes for platform-specific differences.
Expected signals(no terminal output on success)Representative successful output; values vary with the selected target and system state.
Known errorsExpand-Archive: command not foundExpand-Archive is missing or is not available on PATH.
VerifyExpand-Archive -Path {{archiveFile}} -DestinationPath {{destination}}Re-run the corresponding read-only inspection and confirm the intended state.Rollback noteNo universal automatic rollback is available. Capture the current state and use the tool-specific recovery procedure before applying changes.
Command breakdown
01Expand-ArchiveCommandRuns the Expand-Archive stage of this one-liner.
02-PathOptionConfigures Expand-Archive with the -Path option.
03<archive-file>ParameterA value supplied in the Fill parameters section.
04-DestinationPathOptionConfigures Expand-Archive with the -DestinationPath option.
05<destination>ParameterA value supplied in the Fill parameters section.
Example input
Expand-Archive -Path C:\Build\release.zip -DestinationPath C:\Build\unpacked
Example output
(no terminal output on success)
Extracted release.zip into C:\Build\unpacked.
Illustrative output — exact values vary by system and data.
Official sources