Exchange 2010/2013 installs the mailbox service role by default with a database of "Mailbox database xxxxxxxx"
If you need to delete, you first need to create a new database, and then migrate the system mailbox (approval assistant, Federation), Discovery Search mailbox from your own database to the new database before you can delete it.
Gets the user mailbox in the specified data
Get-mailbox-database DBName
Gets the archive mailbox in the specified data
Get-mailbox-database dbname-archive
Gets the quorum mailbox in the specified data
Get-mailbox-database dbname-arbitration
----------------------
Migrating Discovery Search Mailboxes
View Discovery Search Mailboxes
get-mailbox-filter {recipienttypedetails-eq "Discoverymailbox"} to get the mailbox name
Create a migration request
new-moverequest-identity " Discoverysearchmailbox { XXXXX } "-targetdatabase dbname
Migration Complete Delete Request
Get-moverequest-movestatus Completed | Remove-moverequest (also possibly completedwithwarning)
Verify
Get-mailbox-filter {recipienttypedetails-eq "Discoverymailbox"} | Select Name,database
-----------------------
Migrating system mailboxes (approval assistant, Federation)
View Mailbox Name
get-mailbox-arbitration | Select Name,database
Create a migration request
new-moverequest-identity "systemmailbox{xxxxxx}"-targetdatabase DBName
new-moverequest-identity "migration. xxxxxx"-targetdatabase DBName
new-moverequest-identity "Federatedemail. xxxxxx"-targetdatabase DBName
Migration Complete Delete Request
Get-moverequest-movestatus Completed | Remove-moverequest (also possibly completedwithwarning)
Verify
get-mailbox-arbitration | Select Name,database
------------------------
Exchange 2013 Delete Database warning
delete database "Mailbox database xxxxxx "Monitoring of mailbox objects failed. Exception: The Active Directory operation on the DC failed. This error cannot be retried. Additional information: Access denied. Active Directory Response: 00000005:secerr:dsid-031520b2, Problem 4003 (insuff_access_rights), data 0.
All monitoring mailboxes can be viewed through the Exchange PowerShell command
Get-mailboxdatabase | Get-mailboxstatistics |? {$_. Displayname-like "*healthmailbox*"} | FT displayname,totalitemsize,database
You can manually delete a monitored mailbox object that comes with a database
Log on to the DC to open ADSI edit
Default Naming Context
All monitoring mailbox objects are visible in Microsoft Exchange System Objects-Monitoring mailboxes
Right-click Property view
Determine whether an object belongs to a deleted database through HomeMDB and whencreated
HomeMDB value is empty, and whencreated corresponds to the time that the mailbox role is installed, you can delete
Exchange 2010/2013 Deletes the default database