PowerTip: Use Show-Command to See PowerShell Parameters

Summary: Use Show-Command to display interactive Windows PowerShell parameter Help.

Hey, Scripting Guy! Question How do you display the parameters and parameter sets of Windows PowerShell cmdlets in an interactive fashion?

Hey, Scripting Guy! Answer Use the Show-Command cmdlet from the Windows PowerShell console or the Windows PowerShell ISE:

            Show-Command –name cmdletname

For example:

Show-Command get-process

Comments (6)

  1. Boe Prox says:

    @all Show command does work in the console as well as the ISE, but as Walid mentioned, it only works in PowerShell V3

  2. Earl says:

    This is the error message I got:

    "The term 'Show-Command' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path w

    as included, verify that the path is correct and try again."

  3. Walid Toumi says:



    show-command it's in version 3 and it work only in ISE

  4. Ed Wilson says:

    @Earl Show-Command is included in PowerShell 3.0. You can get PowerShell 3.0 from here: http://www.microsoft.com/…/details.aspx

    @Walid Toumi, @Boe Prox yes Show-Command works both in the PowerShell 3.0 console as well as with the ISE. In fact, show-Command appears two different ways in the ISE — one is the Command Add-On, and the other is calling Show-Command directly.

  5. Mark says:

    Perhaps, the PowerTips should indicate which version or known version of PowerShell the tips work for.

  6. fred says:

    It’s not working in ISE version 4. Any ideas why that is?

Skip to main content