There are many ways in PowerShell to check the mailbox database copy status in Exchange, here are some examples from the Exchange Management Shell (EMS):

Blanket check.
Per DAG check.
Per Server check.

  • Get-MailboxDatabaseCopyStatus *
Exchange 2010 and higher:- test-replicationhealth

The above command runs across all servers and databases in the environment. Below is the next example.

  • Get-MailboxDatabaseCopyStatus -Identity dag1*
Exchange 2010 and higher:- test-replicationhealth

The above command only runs against a specific DAG name, in this example DAG1. Below is the next example:

  • Get-MailboxDatabaseCopyStatus -Server Mailbox1
Exchange 2010 and higher:- test-replicationhealth

The above command runs against a specific server to see its mailbox database copy status.

Hope it helps.

    wpChatIcon

    Discover more from Everything-PowerShell

    Subscribe now to keep reading and get access to the full archive.

    Continue reading