Verbs list for cmdlet names

by Feb 4, 2012

Whether there is more simple way to receive the list of the verbs which are a part of cmdlet  names?

I while do so:

 

$verbs = Get-Command -CommandType Cmdlet | Select-Object @{Name = "Verb"; Expression = {$_.Name.Split('-')[0]}} | Sort-Object -Unique -Property "Verb"
$verbs
"Verbs count: $($verbs.length)"

Regards