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>
请尝试下面的内容,有时候没有XML文档需要更新。
Update-Help -Verbose -Force -ErrorAction SilentlyContinue
根据这个link
显然,微软最终会遇到一个问题,因为有时候没有XML文档需要更新,所以暂时使用这个命令:
Update-Help -Verbose -Force -ErrorAction SilentlyContinue