PowerShell get-help update-help

Troubleshooting update-help in Powershell can be simplified using the -Force and -Ea 0 commands to continue past errors along with the to “-Ev what” to record the errors in a verbose manner to the $what variable.

The $what variable can then be reviewed more closely and the cause of the failure (hopefully) identified.

Update-Help  -Force -Ea 0 -Ev what

Creds to https://social.technet.microsoft.com/Forums/ie/en-US/0e09330a-ddb8-440e-b54c-312c99af90e4/failed-to-update-help-for-the-modules-microsoftpowershelloperationvalidation-with-ui?forum=winserverpowershell

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.