13.2. Getting Command Information

PowerShell can invoke all types of commands: cmdlets, functions, aliases, script files, external applications, and even external files that have a registered default action with the windows shell. The most important tool for working with commands is the Get-Command cmdlet. It provides information about registered cmdlets, accessible external applications, and files. You can use it to group related commands and discover new commands that you do not know about. This is where the PowerShell verb-noun convention shines: if you know a cmdlet that works with a specific type of object, you can get all commands that have the same noun in their name, which makes it quite easy to cover all operations about an object. ...

Get Pro Windows PowerShell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.