Common Exchange 2010 Management Shell (Powershell) Commands for Mailbox Databases:
Exclude Databases from Automatic Provisioning
Set-MailboxDatabase <DBName> -IsExcludedFromProvisioning $true
Suspend Databases from Automatic Provisioning
Set-MailboxDatabase <DBName> -IsSuspendedFromProvisioning $false
Add a Database Copy to a Server
Add-MailboxDatabaseCopy -Identity <DBName> -MailboxServer <ServerName> -ActivationPreference 3
Suspend Replication of a Database Copy
Suspend-MailboxDatabaseCopy –Identity <DBName>\<ServerName>
Remove a Database Copy from a Server
Remove-MailboxDatabaseCopy -Identity <DBName>\<ServerName>
View the Status of All Catalog Indexes on a Server
Get-MailboxDatabaseCopyStatus –Server <ServerName> | FL Name,*Index*
Update a Database Copy (Catalog Only)
Update-MailboxDatabaseCopy -Identity <DBName>\<ServerName> -SourceServer <ServerName> -CatalogOnly
Move the Active Copy of a Database to Another Server
Move-ActiveMailboxDatabase -Identity <DBName> -ActivateOnServer <ServerName> -MountDialOverride:BestAvailability -Confirm:$False
Give the Blackberry Service Account Access to All Mailboxes
Get-MailboxDatabase -identity <DatabaseName> | Add-ADPermission -User "<BESAccount>" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin
Give Extended Rights to a User/Group to Fully Manage All Mailboxes in a Database
Get-MailboxDatabase -identity <MailboxDatabaseName> | Add-ADPermission -user "<UserOrGroupName>" -AccessRights GenericAll
List the Size of all Mailbox Databases
Get-MailboxDatabase -Status | FL ServerName, Name, DatabaseSize