Update-Help fails for Microsoft.PowerShell.PSResourceGet: HelpInfoUri fwlink redirects to the docs page

Offen
#2,078 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Bereich
documentation

Rechercherichtung

The failing value is HelpInfoUri in the module manifest (.psd1) for Microsoft.PowerShell.PSResourceGet, and the same fwlink appears as HelpContentURI in the published HelpInfo.xml. Start by reading the manifest and checking where the fwlink resolves, then reproduce with Update-Help. Done means Update-Help succeeds, which likely needs a maintainer to fix the fwlink or the help location because the link is controlled outside this repository.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Prerequisites
  • Latest PSResourceGet: 1.2.0 (bundled with PowerShell 7.6.x) and 1.3.0-rc1 (PowerShell 7.7.0-rc.1)
Steps to reproduce
Update-Help -Module Microsoft.PowerShell.PSResourceGet -UICulture en-US -Force
Expected behaviour

The help is updated, as it was until recently.

Actual behaviour
Update-Help: Failed to update Help for the module(s) 'Microsoft.PowerShell.PSResourceGet' with UI culture(s) {en-US} :
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://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.psresourceget/?view=powershellget-3.x'
does not resolve to a container..
Details
  • The manifest's HelpInfoUri, https://go.microsoft.com/fwlink/?linkid=2238183, now redirects to
    https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.psresourceget/?view=powershellget-3.x,
    the documentation page, instead of the help container.
  • The help is still published at https://pshelpprod.z22.web.core.windows.net/powershellget-3.x/
    (Microsoft.PowerShell.PSResourceGet_e4e0bda1-0703-44a5-b70d-8fe704cd0643_HelpInfo.xml and the en-US cab,
    dated 2026-10-28), but that HelpInfo.xml has the same fwlink as its HelpContentURI, so correcting
    the manifest alone doesn't help.
  • (powershellget-3.x in these URLs is the documentation's name for PSResourceGet, which started
    out as PowerShellGet v3; PowerShellGet 2.2.5 isn't involved.)
  • Other bundled modules are fine: e.g. ThreadJob's fwlink redirects to
    https://pshelpprod.z22.web.core.windows.net/powershell-7.6/.

Pointing the fwlink back at the container (or the manifest and HelpInfo.xml at the container directly)
would fix it.

Vorherrschende Sprache
C#
Sterne
581
Forks
116
Ø Merge
1 T. 21 Std.
Gemergte PRs (30 T.)
9

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus PowerShell/PSResourceGet

Alle Issues in PowerShell/PSResourceGet

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.