New : The New verb creates a new instance of the cmdlet target.
Remove : The Remove verb deletes the cmdlet target.
??‘
??‘
??‘
??‘
Figure 1-3
execution of the cmdlet. For example, the cmdlet Get-ExchangeServer returns a list of all Exchange
servers in the organization in a formatted list as shown in Figure 1 - 3 .
Part I: PowerShell for Exchange Fundamentals
10
The Get verb is the most common verb used in Exchange Management Shell cmdlets. It is also known
as the default verb. When a cmdlet noun name is entered without a verb, Windows PowerShell assumes
that the Get verb was implied and runs that cmdlet. In the preceding example, entering
ExchangeServer instead of Get-ExchangeServer would yield the same results.
Noun Names
Nouns always represent the target of the cmdlet, in other words the thing on which the cmdlet will act.
Noun names are usually straightforward and simply describe the target item. For example, consider the
cmdlet Get-ClusteredMailboxServerStatus . From looking at this cmdlet ??™ s name you should be able
to figure out that its purpose is to retrieve the status of Clustered Mailbox Servers. When you apply this
logic to other cmdlet names you quickly begin to understand how easy it can be to discover and
learn cmdlets.
Another concept of noun names you should understand is that many cmdlet names share the same
noun.
Pages:
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40