Because Exchange Management Shell is built on top
of Windows PowerShell, you need to understand the basic concepts and components of Windows
PowerShell first.
The Command - Line Interface
Windows PowerShell operates within a hosting application. The default application is powershell.exe ,
a console application that presents a command line to the user. To start PowerShell from the Start menu
select All Programs Windows PowerShell 1.0 Windows PowerShell. This opens Windows
PowerShell with the default console application as shown in Figure 1 - 1 .
Many first - time users of Exchange Management Shell may be confused when after opening the default
Windows PowerShell console application that they are unable to run any Exchange - specific commands.
This is because Exchange Management Shell is an extension of Windows PowerShell. The default
Windows PowerShell hosting application does not include any Exchange - specific commands. Windows
PowerShell is extended by the use of a component called a snap - in. A snap - in provides a method for
loading custom PowerShell commands and functionality contained in an application extension file.
To start Exchange Management Shell from the Start menu, select All Programs Exchange Server 2007
Exchange Management Shell. The target definition for this program shortcut contains the following
underlying command line:
C:\WINDOWS\system32\WindowsPowerShell\v1.
Pages:
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36