question

SyedFaizan-0821 avatar image
0 Votes"
SyedFaizan-0821 asked IanXue-MSFT answered

Not able to update-help in PowerShell

PS C:\> Update-Help -SourcePath 'C:\Powershell Updates'
Update-Help : Failed to update Help for the module(s) 'ConfigDefender, PSReadline, WindowsUpdateProvider' with UI
culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for UI culture en-US. Make sure the HelpInfoUri property
in the module manifest is valid or check your network connection and then try the command again.
At line:1 char:1
+ Update-Help -SourcePath 'C:\Powershell Updates'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [Update-Help], Exception
+ FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand

I've tried -Force switch. Tried save-help then run using -sourcepath still same error message. Any help really appreciated.

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

IanXue-MSFT avatar image
3 Votes"
IanXue-MSFT answered

Hi,

It seems the issue has been around for a while.
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/139

Please check to see if this fixes the PSReadline module.
https://devblogs.microsoft.com/powershell/updating-help-for-the-psreadline-module-in-windows-powershell-5-1/

Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.