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 logins, you can use the built-in shell Test-
MapiConnectivity
cmdlet using a number of parameters:
Use the
-Database
parameter to test the ability to log on to a specific database:Test-MAPIConnectivity -Database DB1
Use the
-Identity
parameter to test the ability to log on to a specific mailbox:Test-MAPIConnectivity -Identity administrator
Use the
-Server
parameter to test the ability to log on to each system mailbox on a particular mailbox server:Test-MAPIConnectivity -Server MBX1
In addition to the MAPI connectivity tests, one of the most critical services on the Mailbox role is the Mailbox Replication Service. Use the
Test-MRSHealth...