Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Overview of this book

Table of Contents (22 chapters)
Microsoft Exchange 2010 PowerShell Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 on to each system mailbox on a particular mailbox server:

    Test-MAPIConnectivity -Server MBX1

How it works...

The Test-MAPIConnectivity cmdlet verifies that both client connections via the MAPI protocol and LDAP connections for authentication are working...