O'Reilly logo

Microsoft Exchange Server PowerShell Cookbook - Third Edition by Mike Pfeiffer, Jonas Andersson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing connectivity and protocol logs

Every Exchange Mailbox server is capable of logging connection activities 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 of a Mailbox server, use the Get-TransportService cmdlet:

Get-TransportService -Identity tlex01 | fl ConnectivityLog*

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required