6

我正在尝试下载并安装所有命令的帮助文件,但它不起作用。我在 Windows 终端中使用 Powershell 7.1.1。

Update-Help: Failed to update Help for the module(s) 'ConfigDefender, PSReadline' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).

提供英语-美国帮助内容,可以使用以下方式安装:Update-Help -UICulture en-US。

这正是输出的样子

在此处输入图像描述

4

1 回答 1

10

解决了,感谢我在 stackoverflow 上找到的另一篇文章。根据 Microsoft 的说法,如果出现有关 cmdlet 的错误,以下命令应该可以工作:Update-Help。

https://answers.microsoft.com/en-us/windows/forum/all/updateing-powershell-user-help-files/07afd880-c543-4e56-9446-1e9eb509003d

 Update-Help -Verbose -Force -ErrorAction SilentlyContinue
于 2021-01-31T17:24:50.870 回答