Shows the mailboxes in the database
Get-Mailbox -Database “EXC_DATABASE” | ft Name, Alias, WindowsEmailAddress, UserPrincipalName
Fixes content index errors
Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq “Failed”} | Update-MailboxDatabaseCopy -CatalogOnly
Shows the percentage status in migration
Get-MoveRequest | Get-MoveRequestStatistics | sort -Descending PercentComplete
Show total mailboxes on server
(Get-Mailbox -Server “EXC_SERVER” -RecipientTypeDetails UserMailbox -ResultSize Unlimited).count
Shows the number of items in the database
Get-Mailbox -Database “EXC_DATABASE” | measure | Select Count