Skip to content

Instantly share code, notes, and snippets.

@mikeabreu
Created February 13, 2018 20:50
Show Gist options
  • Save mikeabreu/0d197276b8b6844a03e59058fb8124ed to your computer and use it in GitHub Desktop.
Save mikeabreu/0d197276b8b6844a03e59058fb8124ed to your computer and use it in GitHub Desktop.
$dir=(Join-Path -Path $ENV:USERPROFILE -ChildPath "sysinternals")
New-Item -Path $dir -ItemType Directory -ErrorAction "SilentlyContinue"
$sysinternals = Invoke-WebRequest -Uri 'https://live.sysinternals.com'
$sysinternals | %{$_.Links.Href} | %{$_.substring(1)} | %{curl "https://live.sysinternals.com/$_" -OutFile "$dir\$_"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment