Skip to content

Instantly share code, notes, and snippets.

@motowilliams
Last active April 1, 2018 05:14
Show Gist options
  • Save motowilliams/7a34c12dc184a6d05a506c49923ddfe2 to your computer and use it in GitHub Desktop.
Save motowilliams/7a34c12dc184a6d05a506c49923ddfe2 to your computer and use it in GitHub Desktop.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
(New-Object System.Net.WebClient).DownloadFile("http://aka.ms/downloadazcopy", "azcopy.msi")
Start-Process "msiexec.exe" -argumentlist $("/i", "azcopy.msi", "/qn", "/norestart") -Wait -NoNewWindow
$azcopy="c:\program files (x86)\microsoft sdks\azure\azcopy\azcopy.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment