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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.