Extract a Zip with Expand-Archive
suggest changeExpand-Archive -Path C:\Archives\Documents.zip -DestinationPath C:\Documents
- This extracts the files from
Documents.zipintoC:\Documents.Expand-Archiveis in theMicrosoft.PowerShell.Archivemodule (Windows PowerShell 5.0 and later). If the destination already contains files, add-Forceor the command stops.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents