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

Aperta
#2,078 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C#
Stelle
581
Fork
116
Merge medio
1g 21h
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PowerShell/PSResourceGet

Tutte le issue di PowerShell/PSResourceGet

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.