Datasheet

Chapter 1: Getting Started with Windows PowerShell
7
While invoking Windows PowerShell, this command specifies a console definition file identified by
the
PSConsoleFile parameter. The exshell.psc1 file contains a pointer to the Exchange
Management Shell snap - in definition stored in the Registry at
HKEY_LOCAL_MACHINE\SOFTWARE\
Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Exchange.Management
.PowerShell.Admin
.
The
ModuleName value stored in this location contains the path to the application extension
file
Microsoft.Exchange.PowerShell.Configuration.dll , located in the %ProgramFiles%\
Microsoft\Exchange Server\Bin
directory. Windows PowerShell loads this .dll file to make the
Exchange commands available.
In addition to loading the snap - in for Exchange Management Shell, the underlying command also uses
the
command parameter to specify additional commands to run at startup, in this case the script file
Exchange.ps1 . This script file contains definitions for aliases, functions, and variables specific to
Figure 1-1
c01.indd 7c01.indd 7 12/17/07 3:19:24 PM12/17/07 3:19:24 PM