Powershell Best Practice #16: Update the help

By | August 4, 2015

Best Practice: It is recommended to update the help on a regular basis.

Explanation: You have to run Powershell as an administrator to update the help : Update-Help -Force

You have differents ways to automate the update of the help:

  • PowerShell profile
  • Scheduled Job
  • GPO (in case you work in a domain)

Profile

Scheduled Job

To list the scheduled jobs :

GPO

You can use Save-Help to download help files to a share for example and then deploy through GPO.

It is useful for computers without Internet connection for example.

Set the default source path for Update-Help
Computer Configuration >Administrative Templates >Windows Components >Windows

Note: With the great ISESteroids add-on (Tobias Weltner), you can update the help  with the cmdlet: Update-SteroidsHelp

It will open a new window running the Update-Help -Force as an administrator.

update-help-force


previous-buttonnext-button

One thought on “Powershell Best Practice #16: Update the help

  1. Pingback: Powershell Best Practice #17: Use the same parameter name than the native one | Powershell Guru

Leave a Reply

Your email address will not be published. Required fields are marked *