Note: In the case of a DAG, the DAG should be removed before the database is deleted
A: Check whether the current database has an active account, including the archive account, if any, please migrate or delete
Under EMS:
Get-mailbox-database "Database name"
Second: should also check whether there are monitoring and auditlog accounts, if any, can also be moved together
Under EMS:
Check if there are monitoring and Auditlog accounts:
Get-mailbox-database "Database to delete"-monitoring
Get-mailbox-database "Database to delete"-auditlog
Migrating Monitoring and Auditlog accounts:
Get-mailbox-database "Database to delete"-monitoring | New-moverequest–targetdatabase "Account migration to a new database"
Get-mailbox-database "Database to delete"-auditlog | New-moverequest–targetdatabase "Account migration to a new database"
Third: Check the migration progress
Under EMS:
Get-moverequest
IV: Delete Migration records
Get-moverequest | Remove-moverequest
Note Command-line characters
Exchange 2013 Database Removal work