Blogs

Howto track all executed commands Exchange 2007

  • Comments 3
  • Likes

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
  • Please send some basic information of Exchange Server Administration as i m interested in learning practically

  • What kind of basic information are you looking for?

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

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment