PowerShell" Get-Help -ShowWindow"不会显示所有帮助部分

时间:2015-07-28 14:05:09

标签: powershell powershell-v5.0

即使在设置中选择了它们

enter image description here

特别是

,缺少参数。控制台也是如此。分别赢得10 Pre,PowerShell v5

有什么想法吗?

感谢名单

PS 这就是我所缺少的,它应该像在使用-full开关时一样出现在窗口中

PARAMETERS
-Param1 <Object>
    Param1 help description

    Required?                    true
    Position?                    1
    Default value                
    Accept pipeline input?       true (ByValue, ByPropertyName)
    Accept wildcard characters?  false

-Param2 <Int32>
    Param2 help description

    Required?                    false
    Position?                    named
    Default value                0
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Param3 <String>
    Param3 help description

    Required?                    false
    Position?                    named
    Default value                
    Accept pipeline input?       false
    Accept wildcard characters?  false

-WhatIf [<SwitchParameter>]

    Required?                    false
    Position?                    named
    Default value                
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Confirm [<SwitchParameter>]

    Required?                    false
    Position?                    named
    Default value                
    Accept pipeline input?       false
    Accept wildcard characters?  false

<CommonParameters>
    This cmdlet supports the common parameters: Verbose, Debug,
    ErrorAction, ErrorVariable, WarningAction, WarningVariable,
    OutBuffer, PipelineVariable, and OutVariable. For more information, see 
    about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

1 个答案:

答案 0 :(得分:3)

这是一个已知的错误。

我知道它对你没有多大帮助,但至少你不必寻找解决方案,因为微软已经开始使用它。

您可以在此处查找更新的信息:https://connect.microsoft.com/PowerShell/feedback/details/1549114/ps5-get-help-showwindow-doesnt-display-help-on-parameters