PowerTip: List All Parameters for a Cmdlet

Summary: Learn to provide a parameter list for a cmdlet in a viewable table.

Hey, Scripting Guy! Question I am trying to work with cmdlets with so many parameters that I am having a hard time reading them in Get-Help.
           Is there a way to list them in a single table?

Hey, Scripting Guy! Answer Access the Parameters property by using Get-Command and the cmdlet name, for example:

(GET-Command GET-Childitem).parameters

Comments (3)

  1. @JV

    Great additional tip! There’s one I wasn’t aware of! 🙂

    Absolute coolness with PowerShell

  2. JV says:

    help GET-Childitem -parameter *
    help GET-Childitem -parameter a*
    help GET-Childitem -parameter d*

Skip to main content