Search notes:

Powershell command verbs

Some PowerShell command verbs include:

Approved verbs

When PowerShell was designed, somebody apparently found it necessary to define a list of approved verbs and to recommend to name cmdlets using verbs of this list. They even thought a user that uses a module that contains functions with unapproved verbs should be warned from such verbs:
import-module .\tabergang
WARNING: The names of some imported commands from the module 'tabergang' include unapproved verbs that might make them less discoverable…
It is, however, possible to squelsh the warning with import-module … -disableNameChecking.
This decision is really unfortunate: when trying to use tab expansion because the list of cmdlets that start with verbs such as get- etc. seem almost endlessly.
It is, however, possible to mitigate these problems by using aliases, which don't have such restrictions, and allow to give alternate names to cmdlets.
Note that PowerShell considers some words such as new to be verbs although in English grammar they are not.
Also note that there are some standard cmdlets that have non-approved verbs: tee-object and where-object (and others?)
A list of approved verbs is here.

Groups

Each PowerShell verb belongs to a group. The membership in a group is based on the verb's most common usage.
The groups (as of PowerShell 7.1) are

See also

System.Management.Automation.CmdletAttribute allows to specifiy the name of the verb of a cmdLet.

Index