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: Basic PowerShell > Uncover Cmdlets and Get Help

Uncover Cmdlets and Get Help

Toward the end of the previous section we started to use some PowerShell cmdlets; before we go too much further, let’s look at what a cmdlet is and how you can get help with them.

What Is a Cmdlet?

A cmdlet is a lightweight command that performs an action and typically returns a .NET object. Cmdlets differ from other shell-type commands in that they are not stand-alone executables; rather, the PowerShell runtime invokes them. The name cmdlet lends itself to this definition of a lightweight command, but it also shows a significant amount of forethought on behalf of the Windows PowerShell team. Try searching the Web for the word “command”; no doubt you will return millions of different results from different shells and programming languages. Now try the same search with the word cmdlet; notice how, while there are still hundreds of thousands of results, they are exclusively PowerShell based—at least it gives you a decent start in the s....


  

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