Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 578
  • Last Modified:

Exchange 2013 migrated to Exchange 2016 - How do I remove Exchange 2013?

Hello,

I've been using this document to complete the migration from Exchange 2013 to Exchange 2016: http://markgossa.blogspot.com/2015/12/exchange-2013-to-2016-migration-part-1.html

All mailboxes including the Arbitration mailboxes have been moved to 2016.

The document however does not list the steps for properly removing Exchange 2013 components - it jumps straight to using Programs and Features to uninstall Exchange 2013.  

Knowing well that it might not work since the Exchange 2013 databases are still not removed, I thought I'd follow through with the documentation - but surely enough, the wizard complained that there were mailboxes, databases, etc.  (Exact message further down).

Can someone please furnish the proper steps to removing Exchange 2013 from this server.  

Thanks in advance.

Real-Timer

Error:
Uninstall can't continue. Errors:
This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, public folder mailboxes or arbitration mailboxes, Audit mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all public folder mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -PublicFolder. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To get a list of all Audit mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -AuditLog. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -Archive. To disable a public folder mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -PublicFolder. To disable a Audit mailbox so that you can delete the mailbox database, run the command Get-Mailbox -AuditLog | Disable-Mailbox. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>. It was running the command 'Remove-MailboxDatabase 'CN=Staff1,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=rbs-rad,DC=local' -whatif'.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.UnwillingToRemoveMailboxDatabase.aspx

Warning:
There are messages waiting in the following queues: "RBS-EXCHANGE\Shadow\3". If you proceed with the removal of Exchange Server, data loss may result.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.MessagesInQueue.aspx
0
realtimer
Asked:
realtimer
1 Solution
 
MAS (MVE)Technical Department HeadCommented:
Hi,
Please use these command to check the system mailboxes,user mailboxes and archive.
System mailboxes.
Get-Mailbox -Server <Server2013> -Arbitration

Open in new window

Archives.
Get-Mailbox -Server <Server2013> -Arbitration

Open in new window

User mailboxes
Get-Mailbox -Server <Server2013> 

Open in new window


To move user mailboxes use this command
Get-Mailbox -Server <Server2013> | New-MoveRequest -TargetDatabase -targetdatabase <newdatabasename>

Open in new window

To move system mailboxes use this command
Get-Mailbox -Server <Server2013> -Arbitration | New-MoveRequest -TargetDatabase -targetdatabase <newdatabasename>

Open in new window

To move archive
Get-Mailbox -Server <Server2013> -Archive | New-MoveRequest -TargetDatabase -targetdatabase <newdatabasename>

Open in new window


Thanks
MAS
1
 
realtimerAuthor Commented:
This was perfect.  Thank you so much!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now