Managing connectivity and protocol logs

Every Exchange hub or edge transport server is capable of logging connection activity and SMTP conversations that take place between servers. You can configure the retention settings for these logs and use them to diagnose mail flow issues within your environment. In this recipe, you'll learn how to configure the logging options on your servers and how to examine the data when troubleshooting problems.

How to do it...

To view the connectivity logging configuration for a transport server, use the Get-TransportServer cmdlet:

Get-TransportServer -Identity ex01 | fl ConnectivityLog*

The previous command retrieves the default connectivity logging settings for a transport server named ex01. The output returned will ...

Get Microsoft Exchange 2010 PowerShell Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.