Datasheet
Chapter 1: Getting Started with Windows PowerShell
17
The other possible role values you can use with the Role parameter are:
*client* for Client Access Server
*hub* for Hub Transport server
*um* for Unified Messaging server
*edge* for Edge Transport server
Using Get - Command to Find Cmdlets
In addition to the Get-Help cmdlet, the Get-Command cmdlet is very useful for discovering cmdlets
and other Windows PowerShell command elements such as functions, aliases, applications, and
external scripts.
Running
Get-Command without any parameters produces a list of every available cmdlet. With more
than 500 available cmdlets in Exchange Management Shell, this extensive list is not very efficient for
discovering individual cmdlets. The parameters for
Get-Command allow you to refine the list into
something comprehensive. Using the
Name parameter you can supply enough of the cmdlet name with
wildcards to create a list of ambiguous matches similar to the previous example using
Get-Help .
The parameters
Verb and Noun are used either alone or together to search for cmdlets with matching
verb and noun names. Wildcards are permitted for both of these parameters. The
Name parameter
❑
❑
❑
❑
Figure 1-13
c01.indd 17c01.indd 17 12/17/07 3:19:27 PM12/17/07 3:19:27 PM