Wednesday, 24 September 2014

At work today I stumbled across this fantastic little gem for installing Chocolatey when you’re stuck behind a proxy:

Set-ExecutionPolicy -ExecutionPolicy Unrestricted;$a=new-object net.webclient;$a.proxy.credentials=[system.net.credentialcache]::defaultnetworkcredentials;$a.downloadstring('https://chocolatey.org/install.ps1')|iex