Automatic Proxy Authentification from $Profile

Works if you’re behind an AD. Put this in your $Profile:

function auth-proxy{
    	netsh winhttp import proxy source=ie
	$webClient = new-object System.Net.WebClient
	$webClient.Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials
}
auth-proxy{}