Updating Help Documentation in PowerShell
Updating Help Documentation in PowerShell
The Update-Help cmdlet in PowerShell will download the latest help files for PowerShell modules installed on your machine.
Running PowerShell as Administrator is a requirement for this one, else you’ll get the following error.
![Update-Help Access Denied](https://peter-whyte.com/wp-content/uploads/2019/02/update_help_with_admin_fails_highlight.png)
“Access is denied” is the key part in this error, amongst a lot of irrelevant info.
![Run PowerShell as Administrator](https://peter-whyte.com/wp-content/uploads/2019/02/run_powershell_as_administrator_arrowed.png)
And when you do run as Administrator (as above), you’ll likely get the same when attempting the this yourself, even when using the -Force parameter.
![Update-Help -Force Fails](https://peter-whyte.com/wp-content/uploads/2019/02/update_help_with_admin_and_force_fails.png)
To get it updated, run the following.
You should see it working instantly!
![Update-Help PowerShell](https://peter-whyte.com/wp-content/uploads/2019/02/update_help_success.png)
0 Comments