Get Mailbox Database Copy Status


The Get Mailbox Database Copy Status process retrieves health and status information about one or more mailbox database copies.

Note

The Get Mailbox Database Copy Status operation supports Microsoft Exchange versions 2010, 2013, 2016, and 2019.

 

The adapter request parameters may differ according to the Microsoft Exchange Server version.

For the list of all supported parameters, refer to the Get-MailboxDatabaseCopyStatus cmdlet in the Microsoft Exchange documentation specific to your version.

The following figure shows a sample adapter request for the Get Mailbox Database Copy Status operation on Microsoft Exchange version 2019: 

<microsoft-exchange-request>
   <command>
     <command-name>Get-MailboxDatabaseCopyStatus</command-name>
     <format-option/>
     <verbose-logging/>
     <parameters>
       <parameter>
         <name>Identity</name>
         <value>Mailbox Database 0489809502</value>
       </parameter>
     </parameters>
   </command>
</microsoft-exchange-request>

The following figure shows the response for the adapter request:

<microsoft-exchange-response>
 <metadata>
   <status>success</status>
 </metadata>
 <targets-output>
   <target-output host="clm-pun-020413.bmc.com">
     <metadata>
       <os-id>Windows Server 2008</os-id>
       <os-version>6.3.9600</os-version>
       <status>success</status>
     </metadata>
     <commands-output>
       <command-output>
         <metadata>
           <command>Get-MailboxDatabaseCopyStatus -Identity:'Mailbox Database 0489809502'</command>
           <line-count>11</line-count>
           <execution-milliseconds>27940</execution-milliseconds>
           <exit-code>0</exit-code>
           <status>success</status>
         </metadata>
         <output>
           <line index="1">Attempting to connect to remote host...</line>
           <line index="2">Initialising rctrlx server component...</line>
           <line index="3">Executing remote application: cmd /c "echo . | 
powershell -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\V15\Bin\exshell.psc1"
-NonInteractive -Command Get-MailboxDatabaseCopyStatus -Identity:'Mailbox Database 0489809502' "</line>
           <line index="4">Stdout:</line>
           <line index="5">Name                                          Status          CopyQueue ReplayQ</line>
           <line index="6">                                                              Length    ueueLen</line>
           <line index="7">                                                                        gth    </line>
           <line index="8">----                                          ------          --------- -------</line>
           <line index="9">Mailbox Database 0489809502\CLM-PUN-020812    Healthy         0         0      </line>
           <line index="10">Mailbox Database 0489809502\CLM-PUN-020811    Mounted         0         0      </line>
           <line index="11">Remote application exited with code: 0</line>
         </output>
       </command-output>
     </commands-output>
   </target-output>
 </targets-output>
</microsoft-exchange-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*