PowerTip: Find All of the Common Approved PowerShell Verbs

PowerTip: Find All of the Common Approved PowerShell Verbs

  • Comments 2
  • Likes

Summary: Learn how to find all of the approved Windows PowerShell verbs that are in the Common group.

Hey, Scripting Guy! Question I want to produce a list of all approved common Windows PowerShell verbs. How do I do it?

Hey, Scripting Guy! Answer This answer comes from my new Windows PowerShell 3.0 Step by Step Microsoft Press book.

Use Get-Verb and pipe the results to the Where-Object cmdlet. Match the group property with the word “common” and send the results to Format-Wide. The command is shown here.

Get-Verb | where group -match 'common' | Format-Wide verb -auto

The command and associated output from the command are shown here.

11:09 C:\> Get-Verb | where group -match 'common' | Format-Wide verb -auto

Add       Clear     Close     Copy      Enter    Exit     Find     Format   Get

Hide      Join      Lock      Move      New      Open     Optimize Pop      Push

Redo      Remove    Rename    Reset     Resize   Search   Select   Set      Show

Skip      Split     Step      Switch    Undo     Unlock   Watch

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Kool stuff, Thank you.

  • @Srinu Tamada you are welcome.