Code snippets : Unzip file in PowerShell

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)...