Recently I needed to unzip file from PowerShell script. Here is result what I did use to achieve that:
$archiveDir = "C:\Downloads" $fileZip = $archiveDir + "\file.zip" $shell=new-object -com shell.application $zip = $shell.NameSpace($fileZip) foreach ($item in $zip.items()) { $shell.NameSpace($archiveDir).CopyHere($item) }