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

Leveraging the power of Get-Command

The Get-Command cmdlet gets details of every command available to you. These commands include cmdlets, functions, workflows, aliases, and executable commands. Using the Get-Command cmdlet, you can obtain a listing of all the cmdlets installed on Windows PowerShell, but there is much more that can be done using this extremely versatile cmdlet. For example, you can use wildcard characters to search for cmdlets using Get-Command. This is shown in the following procedure.

Searching for cmdlets using wildcard characters

In a Windows PowerShell prompt, enter the Get-Command cmdlet followed by a wildcard character:

Get-Command *

Finding commands by using the Get-Command cmdlet

  1. Open Windows PowerShell.

  2. Use ...

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