Created
July 19, 2017 08:22
-
-
Save stknohg/e78ad29b665ce5b9a7982646234b89f5 to your computer and use it in GitHub Desktop.
SysinternalsSuiteをダウンロードして展開するスクリプト
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
$uri = 'https://download.sysinternals.com/files/SysinternalsSuite.zip' | |
$sourcePath = Join-Path (Get-Location -PSProvider fileSystem) "SysinternalsSuite.zip" | |
$destPath = 'C:\Program Files\SysinternalsSuite\' | |
Invoke-WebRequest -Uri $uri -OutFile $sourcePath | |
Expand-Archive -LiteralPath $sourcePath -DestinationPath $destPath | |
Remove-Item -LiteralPath $sourcePath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment