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

Exchange 2010, 2013 delete the default database

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

After installing the mailbox service role in Exchange 2010 2013, it comes with a database "Mailbox Database xxxxxxxx" by default.

If you need to delete, you need to first create a new database, and then migrate the system mailboxes (approval assistant, Federation) and discovery search mailboxes in your own database to the new database before you can delete them.

Get the user mailbox in the specified data

Get-Mailbox-Database DBName

Get the archive mailbox in the specified data

Get-Mailbox-Database DBName-Archive

Get the arbitration mailbox in the specified data

Get-Mailbox-Database DBName-Arbitration

--

Migration Discovery search mailbox

View Discovery search mailbox

Get-Mailbox-Filter {RecipientTypeDetails-eq "DiscoveryMailbox"} get the mailbox name

Establish a migration request

New-MoveRequest-Identity "DiscoverySearchMailbox {XXXXX}"-TargetDatabase DBName

Migration completed delete request

Get-MoveRequest-MoveStatus Completed | Remove-MoveRequest (or CompletedWithWarning)

Verification

Get-Mailbox-Filter {RecipientTypeDetails-eq "DiscoveryMailbox"} | select Name,Database

Migrate system mailboxes (approval Assistant, Federation)

Check mailbox name

Get-MailBox-Arbitration | select Name,Database

Establish 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 completed delete request

Get-MoveRequest-MoveStatus Completed | Remove-MoveRequest (or CompletedWithWarning)

Verification

Get-MailBox-Arbitration | select Name,Database

-

Exchange 2013 delete database warning

Failed to delete the monitoring mailbox object for database 'Mailbox Database xxxxxx'. Exception: the Active Directory operation on DC failed. This error cannot be retried. Other 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 monitoring mailbox objects with your own database

Log in to DC to open the ADSI editor

Default naming context

All monitoring mailbox objects can be seen in "Microsoft Exchange System Objects"-"Monitoring Mailboxes"

Right-click to view properties one by one

Determine whether the object belongs to the deleted database by homeMDB and whenCreated

Delete the homeMDB if the value is empty and whenCreated corresponds to the time when the mailbox role is installed.

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