WinSCP icon indicating copy to clipboard operation
WinSCP copied to clipboard

Update-Help : Unable to connect to Help content

Open jeffreymcclain opened this issue 6 years ago • 2 comments

Issue Description

The help content cannot be updated using the "Update-Help" cmdlet. I noticed this the other day when running "Update-Help" against all my installed modules.

This is a very minor issue as I typically use your GitHub Wiki documentation instead, but I figured I would mention it anyways.

P.S.: I really appreciate you releasing this module as FOSS software and updating it regularly, if you accept donations I'd be happy to send you some beer money as thanks!

Example

Update-Help -Name WinSCP

Expected Output

The module's help content should be updated successfully.

Actual Output

Update-Help : Failed to update Help for the module(s) 'WinSCP' with UI culture(s) {en-US} : Unable to connect to Help content. The server on which Help content is stored might not be available. Verify that the server is available, or wait until the server is back online, and then try the command again. At line:1 char:1 + update-help -name WinSCP + ~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Update-Help], Exception + FullyQualifiedErrorId : UnableToConnect,Microsoft.PowerShell.Commands.UpdateHelpCommand

WinSCP-PowerShell Version

5.15.1.0

Environment

PowerShell v5.1; Windows 10, 64-bit, v1809 (LTSC)

jeffreymcclain avatar May 09 '19 16:05 jeffreymcclain

I don't currently support updateable help, the only help comes with the module as an .xml file.

dotps1 avatar May 09 '19 17:05 dotps1

so, not sure what i want to to about this. I really would like to keep the cab file with the repo, but it appears that is not really possible due to some redirect limit in Update-Help: https://github.com/PowerShell/PowerShell/issues/9981 im going to wait and see what the pwsh team says about it.

dotps1 avatar Oct 30 '19 14:10 dotps1