Created
February 13, 2018 20:50
-
-
Save mikeabreu/0d197276b8b6844a03e59058fb8124ed to your computer and use it in GitHub Desktop.
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
$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