小编fin*_*ert的帖子

powershell 更新帮助失败

我刚刚开始从 Microsoft 虚拟学院学习 PowerShell,并且我正在运行指示的命令之一。虽然在他们的最后它起作用了,但我的却没有。我确实四处寻找解决此问题的方法。我只是不知道出了什么问题。任何提示都会对这个新的 PowerShell 学习者有所帮助。

PS C:\Windows\system32> Update-Help -Force
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 -Force
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand

PS C:\Windows\system32> $PSVersionTable …
Run Code Online (Sandbox Code Playgroud)

powershell powershell-v5.1

3
推荐指数
1
解决办法
3273
查看次数

标签 统计

powershell ×1

powershell-v5.1 ×1