Forum Discussion

Dean_Gross's avatar
Dean_Gross
Silver Contributor
Jul 31, 2017
Solved

Unable to update Powershell Help

When I run update-help, I get the following error. Does anyone else? Is this a known issue?

Failed to update Help for the module(s) 'AzureInformationProtection' The value of the HelpInfoUri key in the module manifest must resolve to a container or root URL on a website where the help files are stored. The HelpInfoUri 'https://docs.microsoft.com/en-us/powershell/module/RMSProtection/?view=azureipps&viewFallbackFrom=azureipps%3Fview%3Dazureipps%3Fview%3Daz
ureipps%3Fview%3Dazureipps?view=azureipps?view=azureipps?view=azureipps?view=azureipps' does not resolve to a container

5 Replies

    • Dean_Gross's avatar
      Dean_Gross
      Silver Contributor

      I don't think so, apparently that is intentional, but I don't understand why.

      • Carol Bailey's avatar
        Carol Bailey
        Icon for Microsoft rankMicrosoft

        Our PowerShell modules don't support updatable help, which was really designed for "air-gap" scenarios, such as servers that aren't allowed to access the Internet.  We're a cloud service, so that scenario doesn't apply.  Instead of supporting a single URL to download an updated help file for all the cmdlets, each cmdlet has its own URL to get the latest help online. Because it's online, we can update it much more easily/frequently (and I do!).  Use "Get-Help <cmdlet name> -online".  Any updates made online automatically go into the help file that ships with the next release of the module.

         

        The module doesn't handle the update command well - it should fail more "gracefully" than the error you see.  So it's a bug, but a low priority bug, given that it doesn't impact functionality.

    • Dean_Gross's avatar
      Dean_Gross
      Silver Contributor

      Thanks, Yes, I asked there also and  Carol told me that it does not support updateable help (:.

Resources