Updating PowerShell Help with One-Liner

by Nov 2, 2016

To get the most out of PowerShell, you should at least update PowerShell help once. This downloads and installs the base set of help files that show when you run Get-Help on a cmdlet, or click a cmdlet in the PowerShell ISE and press F1.

Updating PowerShell help requires Administrator privileges because unfortunately the help files reside in the Windows folder.

Here is a one-liner illustrating how you can run any PowerShell command with Administrator privileges. This command would update your local PowerShell help:

Start-Process -FilePath powershell -Verb RunAs -ArgumentList "-noprofile -command Update-Help -UICulture en-us  -Force"

Twitter This Tip! ReTweet this Tip!