PowerTip: Better Way to View PowerShell Help

Summary: Learn a better way to view Windows PowerShell Help.

Hey, Scripting Guy! Question I like the Windows PowerShell Help files, but I do not like trying to read them in the Windows PowerShell
            console window. What is a better way to read the content?

Hey, Scripting Guy! Answer Use the –ShowWindow parameter from Get-Help. This example displays the About_Automatic_Variables Help:

Get-Help -Category helpfile automatic -ShowWindow

Comments (3)

  1. tommymaynard says:

    I use Get-Help -ShowWindow so often that I add it to $PSDefaultParameterValues when my profile script runs:

    $PSDefaultParameterValues = @{
    ‘Get-Help:ShowWindow’ = $true

  2. tommymaynard says:

    ^ It didn’t render, but I had an open left-angled bracket (<), the word ‘command,’ and a right-angled bracket (>) between Get-Help and -ShowWindow (it probably thought it was HTML). Entering that, as rendered above, will open the Windows PowerShell Help
    System topic, which is better than an error.

  3. orlando says:

    As of which version does the tip work? I used v.3 and got this back:
    "A parameter cannot be found that matches parameter name

Skip to main content