Last active
August 29, 2015 14:07
-
-
Save JonathanTech/77905bd0cd128ccafd50 to your computer and use it in GitHub Desktop.
Installs Chocolatey behind a proxy using the machines default proxy settings.
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
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex (& {$x = (new-object net.webclient); $x.Proxy.Credentials=[System.Net.CredentialCache]::DefaultNetworkCredentials; return $x.DownloadString('https://chocolatey.org/install.ps1')})" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment