Last active
February 6, 2017 13:40
-
-
Save da9l/2852270 to your computer and use it in GitHub Desktop.
Install chocolatey behind proxy with system settings in Internet Explorer.
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
$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
Once you're happy with guide from @dazzag24, set
http_proxy
,https_proxy
andchocolateyProxyLocation
environment variable for your proxy location