PowerTip: Find All of the Common Approved PowerShell Verbs

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

Comments (3)

  1. Anonymous says:

    Kool stuff, Thank you.

  2. mredwilson says:

    @Srinu Tamada you are welcome.

  3. texaganian says:

    Where would I find information on how to properly _use_ each of these common verbs? For instance, when is it appropriate to use Get- as opposed to Show- (or even, possibly, Watch-).

    I tried help about_verbs and about_ but got nowhere. These would be good about topics to add to the PowerShell help facility.

Skip to main content