Updating PowerShell v3 Using a Proxy

Because my company uses a proxy to access the internet, the Update-Help doesn’t work in PowerShell.  And since it’s a company wide proxy, I can’t just go to a machine without it and download the help files and then import them into PowerShell.  After some digging around I found the solution below.  It’s not marked as the answer in this TechNet article, but it did the trick for me.

$webclient = New-Object System.Net.WebClient
$creds = Get-Credential
$webclient.Proxy.Credentials = $creds
update-help