by sukans1995 at 2013-05-03 14:03:49
1. I get a zip file by emailby riffy at 2013-05-03 16:54:56
2. extract the file from the zip file and save it on a drive with
Need a script to automate this.
Thanks
If you have the latest dotNet 4.5 installed you can use the zip functionality included in it:[System.Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem')
[System.IO.Compression.ZipFile]::ExtractToDirectory($sourceFile, $targetFolder)