chocolatey/chocolatey — pull request #83 by mwrock (2012-04-17 09:40:20+00:00)
Title: Use DefaultCredentials instead of Get-Credentials when using proxy on web call

I have been noticing at work that I am prompted to enter my login for each downloaded file that the chocolatey installer downloads. This confuses some users gets in the way of the silent install experience. I have changed just a couple lines of code to use GetDefaultCredentils from the Credentials cache instead of calling Get-Credentials. I've had good luck with this technique in several different environments. This will basically justpass the windows token of the user to the proxy for authentication.