Exchange 2013: Move and rename the mail database.

Ok, we now have installed our Exchange 2013, but the default location of the maildatabase is not really that easy to remember, so we are going to move it from it’s default location at:

C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database xxxx

We could either create a new one, or move the existing one.


In this post, we are going to move the existing one using Powershell:


First we need to get the exact name of our database:


Type the following to dismount your database:

get-mailboxdatabase | dismount-database


Now we can move our MailboxDatabase and our LogFolderPath.

We use the name we found above “MailboxDb01″. The path will be created if it doesn’t exist.

Move-DatabasePath "MailboxDb01" -EdbFilePath "C:\MailboxDBs\Maildb01\Maildb01.edb" -LogFolderPath "C:\MailboxDBs\Maildb01"


Now we need to check the status of our mailboxdatabase:

Get-MailboxDatabase -Status |select name,mounted


Lets Mount it, and check status Again:

Get-MailboxDatabase |Mount-Database
Get-MailboxDatabase -status |select name,mounted





Changing Mailbox Database name to something easier to remember.

Servers – databases – edit your database – Change the name of the database and press OK.


Manage Mailbox Databases in Exchange 2013

Posted in Exchange 2013, Powershell, Setup

Leave a Reply