Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can use the following PowerShell script to unzip a file on Windows Server 2012:

$source = "C:\path\to\file.zip" $destination = "C:\path\to\destination\folder" Add-Type -AssemblyName System.IO.Compression.FileSystem Make sure to replace the paths with the correct file path and destination folder path. Then, save the script with a .ps1 extension and execute it in PowerShell.