Powershell behind a proxy

Open powershell as admin

notepad $PROFILE

copy in:

$browser = New-Object System.Net.WebClient
$browser.Proxy.Credentials =[System.Net.CredentialCache]::DefaultNetworkCredentials

Save, close and restart powershell