Saturday, August 25, 2018

#PowerShell HELP

PowerShell has one of the best help database built in to it, well it still has a long way to go to catch up with the Linux Man pages but you get the point. This database so to speak needs to be updated (no surprises there).

The command to update is simple, launch PowerShell in Administrator mode and run Update-Help and let PowerShell do it's magic, of course you need to ensure that you have a connection to the World Wide Web.

This update can sometimes fail and can throw up errors such as the one below:






In my quest to resolve this I came across solution from the social forums on the Microsoft Technet site. A great source of knowledge with some of the best techs in the industry helping each other out.
PowerShell Update.

The command suggested in the forum is Update-Help -force -Ea 0 -Ev what $what.exception.

This threw up errors for me:













So I ran it without the exception bit and the update went smoothly, the command I ran was Update-help -force -Ea 0









No comments:

#PowerShell HELP

PowerShell has one of the best help database built in to it, well it still has a long way to go to catch up with the Linux Man pages but yo...