Skip to content

Instantly share code, notes, and snippets.

@stknohg
Created July 19, 2017 08:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stknohg/e78ad29b665ce5b9a7982646234b89f5 to your computer and use it in GitHub Desktop.
Save stknohg/e78ad29b665ce5b9a7982646234b89f5 to your computer and use it in GitHub Desktop.
SysinternalsSuiteをダウンロードして展開するスクリプト
$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