O'Reilly logo

Microsoft Exchange Server 2013 PowerShell Cookbook - Second 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

Troubleshooting the Transport service

Just like the Mailbox and Client Access services, the Transport service also has a couple of cmdlets dedicated to testing the flow of messages to servers running the Mailbox and Client Access 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 ...

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