Getting Help to update/install on Windows 10- PowerShell 5.1 installed

Welcome Forums General PowerShell Q&A Getting Help to update/install on Windows 10- PowerShell 5.1 installed

This topic contains 4 replies, has 3 voices, and was last updated by

 
Participant
1 week, 5 days ago.

  • Author
    Posts
  • #132224

    Participant
    Points: -8
    Rank: Member

    When I try to get help updated I get the following message:

    update-help : Failed to update Help for the module(s) '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
    + ~~~~~~~~~~~
    + CategoryInfo : ResourceUnavailable: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand

    System Info:

    Windows 10 Pro N Version 1803
    Name Value
    —- —–
    PSVersion 5.1.17134.407
    PSEdition Desktop
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
    BuildVersion 10.0.17134.407
    CLRVersion 4.0.30319.42000
    WSManStackVersion 3.0
    PSRemotingProtocolVersion 2.3
    SerializationVersion 1.1.0.1

    I do not see/find the correct XML file to modify to correct this problem.

    I was doing as your book said RTF help first, but I cannot update/install at this point.

     

     

     

  • #132288

    Participant
    Points: 165
    Helping Hand
    Rank: Participant

    I believe this is an existing bug within Powershell 5.1:

    https://github.com/MicrosoftDocs/windows-powershell-docs/issues/139

    and for further detail:

    https://powershell.org/forums/topic/update-help-failure/

    A workaround is:

    Update-Help -Verbose -Force -ErrorAction SilentlyContinue
  • #132372

    Participant
    Points: 487
    Helping Hand
    Rank: Contributor

    Not all help has updateable help, or the author did not provide a link for an update.

    This kind of thing is common and can safely be ignored. Meaning, it can and will happen and always has happened

    What Tom Yates gave you will not resolve this, but it will force the update of what can be updated and ignore all other errors and that verbose thing of course just allows you to see what is happening.

  • #132374

    Participant
    Points: 165
    Helping Hand
    Rank: Participant

    Yep, thanks @postanote for the additonal clarification.. i was being a little quick with my reply!

    Always appreciated 🙂

     

  • #132455

    Participant
    Points: 487
    Helping Hand
    Rank: Contributor

    no worries. We've all done that. ;-}

You must be logged in to reply to this topic.