Prev | Current Page 38 | Next

Joezer Cookey-Gam, Brendan Keane, Jeffrey Rosen, and Jonathan Runyon

"Professional Windows PowerShell for Exchange Server 2007 Service Pack 1"

For example,
to display all cmdlets used to manage the Mailbox server role, the command shown in Figure 1 - 13 would
be used.
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.


Pages:
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
szataniarze hotele Alanis Morissette Sophie Milman osie do przyczep