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.
To verify that a mailbox server can accept logons, you can use the built-in shell cmdlet Test-MapiConnectivity
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