Tweaking Exchange 2007

Tweaking Exchange 2007

Managing Connectivity Logging

The following permissions are required on the connectivity log directory:

Administrator: Full Control
System: Full Control
Network Service: Read, Write, and Delete Subfolders and Files

Enabling Connectivity Logging using cmdlet
Set-TransportServer Exchange01 -ConnectivityLogEnabled $true

Change the location of Log Files
Set-TransportServer Exchange01 -ConnectivityLogPath “C:Connectivity”

Configure the maximum size of each connectivity log file
Set-TransportServer Exchange01 –ConnectivityLogMaxFileSize 20MB

Setting up the maximum size of the connectivity log directory
Set-TransportServer Exchange01 –ConnectivityLogMaxDirectorySize 250MB

Configure the Age for the Connectivity Log Files – How long you wanna keep the log files
Set-TrasnportServer Exchange01 –ConnectivityLogMaxAge 30:00:00:00
-where dd.hh:mm:ss, where d = days, h = hours, m = minutes, and s = seconds

Managing Message Tracking

Permission required – Exchange Organization Administrator role
The following permissions are required on the message tracking log directory:
Administrator: Full Control
System: Full Control
Network Service: Read, Write, and Delete Subfolders and Files

Enable/Disable Message Tracking log
Set-TransportServer Exchange01  -MessageTrackingLogEnable $True
Set-TransportServer Exchange01 – MessageTrackingLogEnables $False
Set-MailboxServer Exchange01 –MessageTrackingLogEnabled $True
Set-MailboxServer Exchange01 –MessageTrackingLogpath “c:mailbox tracking”

Resources:
http://technet.microsoft.com/en-us/library/aa996827(EXCHG.80).aspx