Advertisement
metalx1000

unzip files with Power Shell

Jun 13th, 2014
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $shell = new-object -com shell.application
  2. $zip = $shell.NameSpace("C:\test.zip")
  3. foreach($item in $zip.items())
  4. {
  5. $shell.Namespace("C:\test").copyhere($item)
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement