Skip to content

Instantly share code, notes, and snippets.

@entelechyIT
Last active November 14, 2017 14:28
Show Gist options
  • Save entelechyIT/1c0ad5b5663548d3027588a94b6f6b71 to your computer and use it in GitHub Desktop.
Save entelechyIT/1c0ad5b5663548d3027588a94b6f6b71 to your computer and use it in GitHub Desktop.
## location and file name of the download
$DownloadFilePath = '~\Documents\U_Windows_2012_and_2012_R2_MS_V2R6_STIG.zip'
## URL to download the file from
$DownloadURL = 'http://iasecontent.disa.mil/stigs/zip/Oct2016/U_Windows_2012_and_2012_R2_MS_V2R6_STIG.zip'
## download the zip file
invoke-webrequest -Uri $DownloadURL -OutFile $DownloadFilePath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment