Updating powershell help

When installing Powershell v3, it doesn’t install any local help files for get-help. If you are upgrading from v2 to v3, the help isn’t updated either.

If you are using a proxy, a simple update-help may not work for you.

Do the following:

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

This will connect to the internet and download the updated help files.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s