Measure and find unique PowerShell commands in verb, noun

Get-Command helps to find commands in PowerShell. The latest version PowerShell 4.0, ships with around 2200 commands depends on the modules imported in Windows server 2012 R2 server. Newly built Windows Server 2012 R2 Standard comes with around 1200 commands.

Counting total number of commands using Measure-object in PowerShell

get-command | select * | measure

Count : 1292
Average :
Sum :
Maximum :
Minimum :
Property :

(Get-Command | select * | Measure).Count
1291

Counting number of verb commands


PS C:UsersAdministrator> get-command | select verb | measure-object

Count : 1291
Average :
Sum :
Maximum :
Minimum :
Property :

PS C:UsersAdministrator> (get-command | select verb | measure-object).count
1291

Counting unique verb commands


PS C:UsersAdministrator> get-command | select verb -unique | measure

Count : 84
Average :
Sum :
Maximum :
Minimum :
Property :

PS C:UsersAdministrator> (get-command | select verb -unique | measure).count
84

Similarly counting number of unique commands in noun


PS C:UsersAdministrator> get-command | select noun -unique | measure

Count : 512
Average :
Sum :
Maximum :
Minimum :
Property :

PS C:UsersAdministrator> (get-command | select noun -unique | measure).count
512

Display unique verb and noun commands


PS C:UsersAdministrator> get-command | select verb -unique | more
PS C:UsersAdministrator> get-command | select noun -unique | more