O'Reilly logo

Windows PowerShell™ 3.0 Step by Step by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. Windows PowerShell Cmdlet Naming

The cmdlets installed with Microsoft Windows PowerShell all follow a standard naming convention. Windows PowerShell cmdlets use a verb-noun pair. For example, there are four commands that start with the verb Add: Add-Content, Add-History, Add-Member, and Add-PSSnapin. When creating cmdlets, you should endeavor to follow the same kind of naming convention. The recognition of this naming convention is helpful in learning the cmdlets that come with Windows PowerShell. Table C-1 shows the number of Windows PowerShell cmdlets associated with each of the verbs. In addition, it shows sample Windows PowerShell cmdlet names.

Table C-1. Cmdlet naming

Count

Name

Sample use

88

Get

Get-Acl, Get-Alias, Get-AppLockerFileInformation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required