无法更新模块的帮助

问题描述 投票:0回答:2
PS C:\WINDOWS\system32> Update-Help

Update-Help : Failed to update Help for the module(s) 'WindowsUpdateProvider'
with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for UI
culture en-US. Make sure the HelpInfoUri property in the module manifest is
valid or check your network connection and then try the  command again.
At line:1 char:1
+ Update-Help
+ ~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand

PS C:\WINDOWS\system32> 
powershell
2个回答
0
投票

请尝试下面的内容,有时候没有XML文档需要更新。

Update-Help -Verbose -Force -ErrorAction SilentlyContinue

官方链接到微软:https://answers.microsoft.com/en-us/windows/forum/all/updateing-powershell-user-help-files/07afd880-c543-4e56-9446-1e9eb509003d


0
投票

根据这个link

显然,微软最终会遇到一个问题,因为有时候没有XML文档需要更新,所以暂时使用这个命令:

Update-Help -Verbose -Force -ErrorAction SilentlyContinue
© www.soinside.com 2019 - 2024. All rights reserved.