PowerShell update-help proxy authentication

PowerShell 3 installs without help files.  You download these from Microsoft using the command update-help.  Use the following PowerShell to make the .Net web client pass your session credentials to the (auto detected) proxy.

Now you can wget, curl or update-help

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

Leave a Reply