Skip to content

Instantly share code, notes, and snippets.

@juan-m-medina
Created November 25, 2015 15:53
Show Gist options
  • Save juan-m-medina/3c98a32c639a510bb7ec to your computer and use it in GitHub Desktop.
Save juan-m-medina/3c98a32c639a510bb7ec to your computer and use it in GitHub Desktop.
$wc=new-object net.webclient;
$wp=[system.net.WebProxy]::GetDefaultProxy();
$wp.UseDefaultCredentials=$true;
$wc.Proxy=$wp;
iex ($wc.DownloadString('https://chocolatey.org/install.ps1'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment