Howto track all executed commands Exchange 2007

This weekend I read on Damien Caro how you can save every command that has been executed on an Exchange 2007 environment.

Because Exchange 2007 is completely based on Powershell, which means that every change made through the Exchange Management Console or through the management shell can be logged.

Damien explains which keys you have to change in order to log the commands:

For the Exchange snap-in we will have to set the following regsitry key:

Powershell command:

set-itemproperty HKLM:\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Exchange.Management.Msh.Admin -Name LogpipelineExecutionDetails -value 1

Registry Key:

HKLM\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Exchange.Management.Msh.Admin LogpipelineExecutionDetails 1

From now on all commands executed by the Exchange management console will be stored into the event viewer of the server which could be monitored by Operations Manager (MOM)

Technorati Tags: ,

Comments (3)

  1. Pradeep Kumar says:

    Please send some basic information of Exchange Server Administration as i m interested in learning practically

  2. What kind of basic information are you looking for?

    Is it scripting, how to setup an exchange environment or something else?

  3. Vikas Kumar says:

    Just one question, that why it is not enabled by default in Exchange 2007?

Skip to main content