0
10
views

Remove Exchange Mailbox Database

This post, will provide details on How to remove an Exchange 2016 Mailbox Database. The Exchange Admin Console (EAC) and PowerShell, will be used to remove the the Mailbox Database in this post..

To Get started we will first look at how we can remove a Mailbox Database using the Exchange Admin Console.

Login to the Exchange Admin Console and navigate the ServersDatabase

Before we can remove the Database, we need to first move all mailboxes to another database. To verify if there are any mailboxes on this database we can run the following in PowerShell.

 

Now that we have the User mailboxes busy being moved, we also need to move the Monitoring Mailboxes as well as the Arbitration Mailboxes.

 

Lastly, we will move the Monitoring Mailboxes to a new Database.

To verify the Status of the move requests we have created now, we will run the following.

As we can see them job has been completed already and some is still in progress. Once all the Move-Request jobs have been completed, we can then move on to remove the Mailbox Database in the EAC.

From the EAC console select the Database and click on the …. And then select Dismount.

Click on “Yes” to continue to Dismount the Database.

Now Select the Database again and click on the “Trash Bin” icon to remove the selected Database.

Click on “Yes” to Remove the Database.

Now let’s look at how to remove the Mailbox Database using PowerShell.

We have to follow the same process as on top to Move all the Mailboxes from the Database which we will be removing.

To remove the Database using PowerShell, can run the following one-liner.

All that is left now is to remove the Files in the location where the Database was stored.

#ThatlazyAdmin

@ShaunHardneck

Sharing is caring!

Previous article
Next article
About Me ? I Guess i would start by saying i am a family guys and full time SysAdmin and Tech Junky. This Blog is my first attempt to share information about daily issues i come across as a SysAdmin as well as some new deployments i am part of. Topics that i will cover will mostly be about Office 365,Windows,Exchange as well as Active Directory. I hope some of my Blog posts helps someone #LiveLongAndBeLazy #Exchange #Office 365 #ActiveDirectory #Hyper-V
SHARE

LEAVE A REPLY

Please enter your comment!
Please enter your name here