Verb-noun naming combines a standard action verb, a dash, and a singular descriptive noun. PowerShell cmdlets use names such as Get-Command, Get-Content, Start-Process, and Set-VM. The consistent pattern makes unfamiliar commands easier to predict and verify with Help or Get-Command. section 4.4
Use the format precisely when typing commands:
- Choose an approved verb such as Get, Set, New, or Pause; Get-Verb displays the available verbs. section 4.4
- Add a dash, then a singular noun describing the object affected, such as Job, Process, Item, or Content. section 4.4
- Type the dash exactly: Get-Content works, whereas Get Content, GetContent, Get=Content, and Get_Content do not. section 4.9.1
Naming a repeatable script
A disk-inventory script can be saved as Get-DiskInventory.ps1. Giving the script a cmdlet-style name signals its action and makes it resemble a reusable PowerShell command. section 19.2
Use the command anatomy figure to see where the cmdlet name, parameters, values, switches, spaces, and dashes fit together. section 4.3


