A simple unzip function in Powershell

function UnzipFiles($ZipFileName, $DestDir)
{
    Add-Type -Assembly System.IO.Compression.FileSystem
    [System.IO.Compression.ZipFile]::ExtractToDirectory($ZipFileName, $DestDir)
}

To use the function:

UnzipFiles -ZipFileName .\folder\file.zip -DestDir .\destination
---
If you have any questions or feedback, please reach out @flowerinthenyt.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.