Managing connectivity and protocol logs

Every Exchange Mailbox 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 then 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 Mailbox server, use the Get-TransportService cmdlet:

Get-TransportService -Identity ex01 | fl ConnectivityLog*

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

Get Microsoft Exchange Server 2013 PowerShell Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.