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

未關閉
#2,078 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
半天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
領域
documentation

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
C#
星號
581
分支
116
平均合併
1 天 21 小時
30 天內合併 PR
9

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

PowerShell/PSResourceGet 的其他 Issue

查看 PowerShell/PSResourceGet 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。