#1 By: howtogeek, June 13th, 2013 12:36
Originally published at: http://www.howtogeek.com/tips/how-to-extract-zip-files-using-powershell/
Windows includes the ability to unzip archives and even exposes this functionality programmatically via COM. Here is how to do it.
#2 By: , June 13th, 2013 14:59
Instead of auguring about Windows 8, maybe this would be a better use of one's time. )
Click on the Link above.
#3 By: Iszi, June 13th, 2013 15:51
I think I'll still prefer 7-Zip over PowerShell for this. Nice to know the capability is built-in to the OS though.
#4 By: Netpilot, June 14th, 2013 10:32
@raphoenix Anyone can find books on the subject. The trick is to find a good, current one. Do you own any of those books or do you recommend one or two over the others?
@Iszi I agree that I wouldn't use the example by itself instead of 7-Zip, but If you are going to do something further to the unzipped files in a larger PowerShell script, the code snippet will be really useful.
#5 By: , June 14th, 2013 14:30
PowerShell is such important program included with Windows 7 and 8, I feel it is extremely important to learn the program.
Yes I own PowerShell books.
Recommend the 5 Star Books in the Amazon Link posted above.
May be we should have a Topic Named "What are you reading this Summer ?".
#6 By: David Ruhmann, June 24th, 2013 16:31
This PowerShell unzip ability is further enhanced by the optional second parameter for the CopyHere function.
I use vOption = 16 in my scripts. (Yes to All prompts)
PowerShell (New-Object -COM Shell.Application).NameSpace('DESTINATION').CopyHere((New-Object -COM Shell.Application).NameSpace('ZIPFILE.zip').Items(), 16);