Troubleshooting the Mailbox role

The Exchange Management Shell provides several built-in troubleshooting cmdlets that you can use to diagnose issues when they arise. In this recipe, we'll take a look at how you can use the Test-MapiConnectivity cmdlet to monitor and troubleshoot the mailbox server role.

How to do it...

To verify that a mailbox server can accept logons, you can use the built-in shell cmdlet Test-MapiConnectivity using a number of parameters:

  1. Use the -Database parameter to test the ability to log on to a specific database:
    Test-MAPIConnectivity -Database DB1
  2. Use the -Identity parameter to test the ability to log on to a specific mailbox:
    Test-MAPIConnectivity -Identity administrator
  3. Use the -Server parameter to test the ability to log ...

Get Microsoft Exchange 2010 PowerShell Cookbook 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.