Skip to Main Content
Microsoft Exchange 2010 PowerShell Cookbook
book

Microsoft Exchange 2010 PowerShell Cookbook

by Mike Pfeiffer
July 2011
Intermediate to advanced content levelIntermediate to advanced
480 pages
11h 54m
English
Packt Publishing
Content preview from Microsoft Exchange 2010 PowerShell Cookbook

Troubleshooting Transport servers

Like the Mailbox and Client Access Server roles, Transport servers also have a couple of cmdlets dedicated to testing the flow of messages to servers running the Mailbox and Hub Transport roles. In this recipe, you'll learn how to use these cmdlets to troubleshoot mail flow and connectivity issues using the Exchange Management Shell.

How to do it...

  1. To test mail flow from one server to another, use the following syntax:
    Test-Mailflow -Identity MBX1 -TargetMailboxServer MBX2
  2. You can use the following syntax to test mail flow from a specific server to a mailbox:
    Test-Mailflow -Identity MBX1 `
    -TargetEmailAddress dsmith@contoso.com
  3. To validate SMTP connections, use the Test-SmtpConnectivity cmdlet:
    Test-SmtpConnectivity ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition - Second Edition

Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition - Second Edition

Jonas Andersson, Mike Pfeiffer

Publisher Resources

ISBN: 9781849682466Other