Created
July 22, 2013 22:48
-
-
Save tcotav/6058400 to your computer and use it in GitHub Desktop.
powershell only unzip (silent)
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_app=new-object -com shell.application | |
$filename = "vmwaretools.zip" | |
$zip_file = $shell_app.namespace((Get-Location).Path + "\$filename") | |
$destination = $shell_app.namespace((Get-Location).Path) | |
$destination.Copyhere($zip_file.items(), 20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment