Search code examples
powershellpowershell-5.0

PowerShell "Get-Help -ShowWindow" won't show all help sections


even though they are selected in settings

enter image description here

in particular, the parameters are missing. The same happens in the console. Win 10 Pre, PowerShell v5 respectively

Any ideas?

thanx

PS that's what I'm missing, it should show up in the window just like when using the -full switch

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).

Solution

  • It is a known bug.

    I know it doesn't help you very much but at least you don't have to look for a solution since Microsoft is on it.

    You can look for updated information here: https://connect.microsoft.com/PowerShell/feedback/details/1549114/ps5-get-help-showwindow-doesnt-display-help-on-parameters