Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Appendix A. Cmdlet Naming Conventions

Appendix A. Cmdlet Naming Conventions

The cmdlets installed with Windows PowerShell all follow a standard naming convention. In general, they use a verb-noun pair. For example, there are four commands that start with the verb Add. “Add what?” you may ask. This is where the noun comes into play: Add-Content, Add-History, Add-Member, and Add-PSSnapin. When creating cmdlets, you should endeavor to follow the same kind of naming convention. Understanding this naming convention is helpful in learning the cmdlets that come with Windows PowerShell.

Table A-1 lists the number (count), verb, and usage of each cmdlet type currently included with Windows PowerShell. To display the complete listing of cmdlets within Windows PowerShell, type get-command.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint