Juszeil Conception

Juszeil Conception

  • 主 頁
  • 部 落 格
  • 相 簿
  • 關 於
  • 更 新 資 訊
  • 網站地圖

«2014 - 10»
日一二三四五六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TODAY

Hide Banner | LOGIN
2023-1-29 |

BLOG 部落格

Total found 1 articles on 2014-10-13.

銵 2014-10-13 17:14:29

Exchange 2013 - Remove Mail Database

Mailbox Users

Normal mailbox users can be moved to another database. To move the mailboxes issue a New-MoveRequest command and wait for the moves to complete.

For example, to move the mailboxes from Mailbox Database 2″ to Mailbox Database 1″ the following command is used.

[PS] C:>Get-Mailbox -Database "Mailbox Database 2" | New-MoveRequest -TargetDatabase "Mailbox Database 1"

Archive Mailboxes

The cmdlet provided in the error message does not actually help you identify archive mailboxes located on the database in question. For example if I am trying to remove Mailbox Database 2″, the error message tells me:

To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database DatabaseID -Archive.

However, running that command shows me no results.

[PS] C:>Get-Mailbox -Database "Mailbox Database 2" -Archive

Instead I can run this command to identify mailboxes with the ArchiveDatabase attribute matching the database that Im trying to remove.

[PS] C:>Get-Mailbox | Where ArchiveDatabase -eq "Mailbox Database 2"

Name                      Alias                ServerName       ProhibitSendQuota
----                      -----                ----------       -----------------
Ana.Williams              Ana.Williams         e15mb1           Unlimited
Dawn.Evans                Dawn.Evans           e15mb1           Unlimited
Chris Brown               chris.brown          e15mb1           Unlimited

To move those archive mailboxes I can issue the New-MoveRequest cmdlet again.

[PS] C:>Get-Mailbox | Where ArchiveDatabase -eq "Mailbox Database 2 | New-MoveRequest -ArchiveOnly -ArchiveTargetDatabase "Mailbox Database 1"

Arbitration Mailboxes

Arbitration mailboxes serve a variety of purposes in Exchange Server 2013, but the important thing at the moment is that they will prevent removal of the database on which they reside.

To view the arbitration mailboxes for a database append the -Arbitration switch to the Get-Mailbox command.

[PS] C:>Get-Mailbox -Database "Mailbox Database 2" -Arbitration

Name                      Alias                ServerName       ProhibitSendQuota
----                      -----                ----------       -----------------
SystemMailbox{1f05a927... SystemMailbox{1f0... e15mb2           Unlimited
SystemMailbox{bb558c35... SystemMailbox{bb5... e15mb2           Unlimited
SystemMailbox{e0dc1c29... SystemMailbox{e0d... e15mb2           Unlimited
Migration.8f3e7716-201... Migration.8f3e771... e15mb2           300 MB (314,572,800 bytes)
FederatedEmail.4c1f4d8... FederatedEmail.4c... e15mb2           1 MB (1,048,576 bytes)

Arbitration mailboxes can be moved to another database like any other mailbox move request.

[PS] C:>Get-Mailbox -Database "Mailbox Database 2" -Arbitration | New-MoveRequest -TargetDatabase "Mailbox Database 1"

Public Folder Mailboxes

In Exchange Server 2013 public folder data is stored in special public folder mailboxes that can reside within the same databases as regular mailboxes. To check a database for public folder mailboxes run the following command.

[PS] C:>get-mailbox -Database "Mailbox Database 2" -PublicFolder

Name                      Alias                ServerName       ProhibitSendQuota
----                      -----                ----------       -----------------
Public Folder Test        PublicFolderTest     e15mb2           Unlimited

Public folder mailboxes can be moved the same as other mailboxes.

[PS] C:>Get-Mailbox -Database "Mailbox Database 2" -PublicFolder | New-MoveRequest -TargetDatabase "Mailbox Database 1"

Mailbox Plans

Mailbox plans are not relevant for on-premise installations of Exchange Server 2013 so you can disregard these.

Completing the Removal of an Exchange 2013 Database

When all of the above mailbox types have been removed from a database you can proceed with the removal of the database itself.

In the Exchange Admin Center navigate to Servers -> Databases, highlight the database you wish to remove and then click on the trash icon.

If you were successful in identifying and removing all of the mailboxes from the database then the database removal should complete successfully.


Relate Post : Exchange 2013 - OAB not publishing Exchange 2013 - How to install Windows Updates on DAG Members Exchange 2013 - Reset user password in ECP Exchange 2013 Enable Anti Spam Exchange Server 2016 - Installation Exchange 2013 - DAG Cluster tunning Exchange 2013 - Manually Configuring Email Addresses Exchange 2013 - Migration Outlook Anywhere Proxy Issues Exchange 2013 - CU12 update error 摰鋆 Office Web Apps Server 2013 (OWA)
Comments :
No Comments

Post your comment:


Post your comment by Guest :
Verify Code :


Back To Top

Find Me

Powered By 2013-2015 ©. Juszeil Conception version 2.0
Queries Executed : 0.0131 seconds