How to unzip a file in Powershell?

In PowerShell v5+, there is an Expand-Archive command (as well as Compress-Archive) built in:

Expand-Archive C:\a.zip -DestinationPath C:\a

Leave a Comment