The team decided to build a new mail server and added it to
the DAG. As they were seeding the existing
mail DBs to the new server I asked about the status. One of the team members said you have to do
this here and this there then subtract these two numbers. I told him there has to be a better way. Fifteen minutes later he came back with this:
$SERVER = "Your Mail Server"
$DB = "Your Mail DB"
(Get-MailboxDatabaseCopyStatus -Identity
"$DB\$SERVER") | fl DatabaseSeedStatus, ContentIndexState,
CopyQueueLength, StatusRetrievedTime
Output example:
DatabaseSeedStatus :
Percentage:90; Read:387.7 GB; Written:387.7 GB; ReadPerSec:4.727 MB;
WrittenPerSec:4.726 MB
ContentIndexState :
FailedAndSuspended
CopyQueueLength :
1295605
StatusRetrievedTime : 7/4/2016 1:45:04 PM
No comments:
Post a Comment