Prev | Current Page 93 | Next

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

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

Other command
elements can also be loaded by the profile script file. You can include any command as well as other
script files to load and run.
Part I: PowerShell for Exchange Fundamentals
54
One command you may find very useful when added to your profile script is Start-Transcript . The
Start-Transcript cmdlet creates a complete record of all actions from a shell session by writing each
command entered at the command line and each output displayed to the console screen to a transcript
log file. By default the transcript file is stored in the %UserProfile%\My Documents directory of the
current user. Each time Start-Transcript runs it creates a new transcript file named
PowerShell_transcript. < timestamp > .txt . You can override the default file path location
using the Path parameter.
Working with Windows
Windows PowerShell provides a powerful administrative interface for managing the Windows operating
system. From the command line you can determine and change the status of processes and services, read
and change Registry values, and access diagnostic information. This section covers Windows PowerShell
features you ??™ ll find useful for managing your Windows servers.
Controlling Processes
At any given time there are dozens of processes active on an Exchange Server 2007 computer.


Pages:
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
tanie rozmowy zasady pokera wciągarki linowe narzędzia pneumatyczne teksty piosenek