Not able to update-help in PowerShell

Syed Razavi 6 Reputation points
2021-05-23T02:48:39.047+00:00

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
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,520 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Ian Xue 36,751 Reputation points Microsoft Vendor
    2021-05-24T07:31:11.54+00:00

    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 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.