Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to delete the Exchange 2013 default database

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

PS: it is recommended to do the following during off-hours

If it is not necessary, it is recommended that you do not delete the default database. You can achieve your requirements by modifying the default database name, path, etc.

$olddb = Get-MailboxDatabase "MailboxDatabase 1784763396"

$newdb = Get-MailboxDatabase "DB01"

Check mailboxes in the default database

Get-mailbox-Database $olddb

Move mailboxes to different databases

Get-mailbox-Database $olddb | New-moverequest-TargetDatabase $newdb

Check whether the mailbox has been migrated to the new database

Check public folder mailboxes

Get-Mailbox-Database $olddb-PublicFolder

If you have public folder mail, use the following command to move the mailbox to a different database

Get-Mailbox-Database $olddb-PublicFolder | New-moverequest-TargetDatabase $newdb

Check the monitoring mailbox

Get-Mailbox-Database $olddb-Monitoring

It must be deleted by the Exchange Server itself. But EX itself does not have permission to delete them. Keep a copy of it and delete it from Active Directory.

Do not move Health Mailbox from one database to another.

Check the arbitration mailbox

Get-Mailbox-Database $olddb-Arbitration

Move the quorum mailbox to a different database

Get-Mailbox-Database $olddb-Arbitration | New-moverequest-TargetDatabase $newdb

Check the status of all mobile requests

Get-MoveRequest | Get-MoveRequestStatistics

After deleting all mobile requests.

Get-moverequest | remove-moverequest

Delete database

Get-MailboxDatabase $olddb | Remove-MailboxDatabase

Deletion is complete. The warning above is due to the fact that I did not delete the monitoring mailbox manually.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report