Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Overview of this book

Table of Contents (22 chapters)
Microsoft Exchange 2010 PowerShell Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 be similar to the following screenshot:

How it works...

Connectivity logs record connection details about outbound message delivery queues on a transport server. Connectivity logging is enabled by default on Exchange 2010 SP1 servers. Based on the...