Update-Help cmdlet not able to update the help with https protocol.

Hi all,

 

I am using powershell 3.0 and trying to implement this updatable feature for our custom powershell module. But I getting the below error:


PS C:\Users\scorchsvc> update-help -Module <modulename> -Force
update-help : Failed to update Help for the module(s) 'modulename' : HelpInfoURI
 https://10.65.182.141/dev_releases/modulename/onlinehelp does not start with http.
At line:1 char:1
+ update-help -Module modulename-Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (HelpInfoUri:Uri) [Update-Help], Exception
    + FullyQualifiedErrorId : InvalidHelpInfoUriFormat,Microsoft.PowerShell.Commands.UpdateHelpCommand

I am able to get this work if I use "http". Error message clearly says that it only expects http. But in the Microsoft help topic for Update-Help cmdlet, it is mentioned that cmdlet works for both http and https both.

Here are my enteries:

  • HelpInforURI entry in module manifest file is:

                    HelpInfoURI = "https://10.65.182.141/dev_releases/modulename/onlinehelp"

  • HelpContentURI in HelpInfo.xml file is:

                   <HelpContentURI> https://10.65.182.141/dev_releases/modulename/onlinehelp </HelpContentURI>

 

  • I am running powershell as an administrator.
  • I am not behind any proxy.
  • Windows firewall is off.
  • I am mentioning it AGAIN that I am ABLE to update help for our custom module if I use http in HelpInfoURI.

 

Can any one please help?

 

Thanks,

Vinay Ravish.

January 29th, 2015 10:09am

Hi Vinay,

My point wasn't how to get "HelpInfoUri" or if it has already existed, I wanted to provide more detailed information.

Actually I would like to know if you can access the HTTPS website in IE, please go to https://10.65.182.141/dev_releases/modulename/onlinehelp and check if it will turn to the desired module help file location.

If you have trouble in accessing HTTPS website, you can post in Network Forum for more efficient support.

Best Regards,

Anna Wang

Free Windows Admin Tool Kit Click here and download it now
February 2nd, 2015 6:31am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics