Summary: Learn how to find all of the approved Windows PowerShell verbs that are in the Common group.
I want to produce a list of all approved common Windows PowerShell verbs. How do I do it?
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
0 comments