Get-Help无法找到ServiceFabric模块的帮助文件

时间:2016-05-12 14:47:08

标签: powershell azure-service-fabric

我安装了Azure Service Fabric SDK,我想获得一些关于某些命令的帮助信息:

Get-Help Connect-ServiceFabricCluster

它在备注下返回以下输出:

REMARKS
    Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
      -- To download and install Help files for the module that includes this cmdlet, use Update-Help.

我在管理员窗口中运行了Update-Help -Module ServiceFabric,但仍然出现此错误。

如何获得ServiceFabric powershell命令的帮助?

2 个答案:

答案 0 :(得分:2)

我刚刚从管理员窗口成功运行了Update-Help,你还在看到这个问题吗?您可以尝试运行Update-Help -Module ServiceFabric -Force来强制更新。

听起来像PowerShell Update-Help的问题。 This post提供了更多信息和解决方法。

答案 1 :(得分:0)

我在核心命令上也遇到了类似的问题,即我无法获得有关Get-Command的详细帮助。

对于我来说,它有助于在运行Update-Help时将语言环境指定为en-US,因为在找不到其他帮助文件时,en-US的后备功能似乎存在问题。

它使用的命令:

Update-Help -UICulture en-US

另请参阅: https://github.com/PowerShell/PowerShell/issues/6217