Skip to content
Menu
The Lonely Administrator
  • PowerShell Tips & Tricks
  • Books & Training
  • Essential PowerShell Learning Resources
  • Privacy Policy
  • About Me
The Lonely Administrator

Friday Fun PowerShell Commands by Noun

Posted on April 19, 2013

One of PowerShell's greatest strength's is discoverability. Once you know how, it is very easy to discover what  you can do with PowerShell and how. One reason this works is because PowerShell commands follow a consistent verb-noun naming convention. With this in mind, you can see all of the commands organized by noun.

get-command -CommandType cmdlet | sort noun,verb | format-table -group noun

This will work in both v2 and v3.

get-command-noun-01In PowerShell 3.0, this will display commands from all modules, even those not currently loaded. If you want to limit your display to only those modules currently imported use this:

get-command -CommandType cmdlet -ListImported | sort noun,verb | Format-Table -group noun

Or you can use this same idea to organize cmdlets in a specific module.

get-command -mod hyper-v | sort Noun,Verb | format-table -group Noun

get-command-noun-02Now that you know what you can do, go forth and do it!

Share this:

  • Print (Opens in new window) Print

Like this:

Like Loading…

Related

3 thoughts on “Friday Fun PowerShell Commands by Noun”

  1. dvsit says:
    April 21, 2013 at 12:41 am

    Finger licking good!

  2. Pingback: Tipy pro Powershell – 2. díl | Igorovo
  3. bytehead says:
    April 26, 2013 at 9:10 am

    10+ entries for this in your RSS feed. The only difference I could see was the different crayon used (command/source code, which wasn’t visible in Google Reader). LOL.

    That aside, this is pretty good!

Comments are closed.

The PowerShell Practice Primer
Learn PowerShell in a Month of Lunches Fourth edition


Get More PowerShell Books

Other Online Content

github



PluralSightAuthor

Active Directory ADSI Automation Backup Books CIM CLI conferences console Friday Fun FridayFun Function functions Get-WMIObject GitHub hashtable HTML Hyper-V Iron Scripter ISE Measure-Object module modules MrRoboto new-object objects Out-Gridview Pipeline PowerShell PowerShell ISE Profile prompt Registry Regular Expressions remoting SAPIEN ScriptBlock Scripting Techmentor Training VBScript WMI WPF Write-Host xml

©2026 The Lonely Administrator | Powered by SuperbThemes!
%d