PowerTip: List All Parameters for a Cmdlet

PowerTip: List All Parameters for a Cmdlet

  • Comments 4
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • help GET-Childitem -parameter *
    help GET-Childitem -parameter a*
    help GET-Childitem -parameter d*

  • @JV

    Great additional tip! There's one I wasn't aware of! :)

    Absolute coolness with PowerShell

  • thank you