Skip to content

Instantly share code, notes, and snippets.

@joeypiccola
Created September 28, 2018 18:56
Show Gist options
  • Save joeypiccola/b630dba4cbd1d0de0f5bc908e4cf2447 to your computer and use it in GitHub Desktop.
Save joeypiccola/b630dba4cbd1d0de0f5bc908e4cf2447 to your computer and use it in GitHub Desktop.
$url = "http://go.microsoft.com/fwlink/p/?LinkID=74689"
$file = "c:\windows\temp\Wsusscn2.cab"
$webclient = New-Object System.Net.WebClient
$webclient.DownloadFile($url, $file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment