Add-Type -AssemblyName System.IO.Compression.FileSystem
Param(
[Parameter(Mandatory=$True)]
[String]$ZipFile,
[Parameter(Mandatory=$True)]
[String]$OutPath
)
Function Unzip
{
[System.IO.Compression.ZipFile]::ExtractToDirectory($ZipFile, $OutPath)
}
Unzip -ZipFile "C:\Users\sumant\Downloads\PDFXVE8.zip" -OutPath "C:\Users\sumant\Downloads\Test001"
No comments:
Post a Comment