Prev | Current Page 37 | Next

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

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


Using the whole word database produces a list of cmdlets that have at least the word at the beginning
of the noun name. But can you be sure that this is a list of every cmdlet possible that can be used to
manage databases? Luckily, Get-Help supports the use of wildcards to search for matching cmdlet
names. To display a list of cmdlets that have the word database anywhere in the cmdlet name, add the
* wildcard to the beginning and end of the name. This causes Windows PowerShell to return a list of all
possible matches as shown in Figure 1 - 12 .
Figure 1-12
This produces a comprehensive list of all available cmdlets that deal with the management of Exchange
databases. Now you would simply need to select the most likely cmdlet for accomplishing a given task
based on how closely the cmdlet name describes what the cmdlet does, then access the help information
for that cmdlet to learn how it is used. For example, if you want to learn how to create a mailbox
database, the cmdlet New-MailboxDatabase is the most likely choice.
Another simple way to use Get-Help is with the Role parameter. Exchange Server 2007 architecture
allows for the installation of different server roles on a given server to match the needs of an
organization ??™ s messaging system. There are five server roles, and by specifying a wildcard role value
with the Role parameter, Get-Help displays a list of all cmdlets used to manage that role.


Pages:
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
Apartamenty Świnoujście noclegi hel Lokaty jednodniowe projekty domków letniskowych męskie skarpetki rowerowe