One-Liner: Valid PSH Verbs
I try to use proper PowerShell verbs, but I’m not always sure what they are (or what they do, which is another matter). Here’s a quick one-liner to dump those verbs out as a [string[]]$array:
Get-Command -CommandType cmdlet | Select-Object -ExpandProperty Verb | Group-Object | Select-Object -ExpandProperty Name