【问题标题】:Get-Help cannot find the Help files for ServiceFabric moduleGet-Help 找不到 ServiceFabric 模块的帮助文件
【发布时间】:2016-09-08 11:49:47
【问题描述】:

我安装了 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 命令的帮助?

【问题讨论】:

  • 我知道我可以在 MSDN 上获得帮助。我想在 powershell 中获得帮助。

标签: powershell azure-service-fabric


【解决方案1】:

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

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

【讨论】:

    【解决方案2】:

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

    在我的情况下,它有助于在运行 Update-Help 时将语言环境指定为 en-US,因为在找不到其他帮助文件时回退到 en-US 似乎存在问题。

    使用的命令:

    Update-Help -UICulture en-US
    

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-10-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多