Created
July 22, 2013 23:35
-
-
Save tcotav/6058645 to your computer and use it in GitHub Desktop.
better unzip function for chef cookbooks - http://www.howtogeek.com/tips/how-to-extract-zip-files-using-powershell/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$shell = new-object -com shell.application | |
$zip = $shell.NameSpace(“C:\howtogeeksite.zip”) | |
foreach($item in $zip.items()) | |
{ | |
$shell.Namespace(“C:\temp\howtogeek”).copyhere($item) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment