skip to Main Content

Rename Exchange 2016 database with PowerShell

After installing Exchange Server 2016, we like to rename the Exchange 2016 default mailbox database. A unique generated mailbox database is created by default in Exchange Server. We can rename the mailbox database without any disruption in the organization. In this article, you will learn how to rename Exchange 2016 database with PowerShell and Exchange Admin Center (EAC).

Rename Exchange 2016 default database with PowerShell

We recommend to rename the database to DB01 as it will be easier in the future to work with. For example, you want to migrate users from that database. An unique generated database will have a name that is not easy to remember.

Run Exchange Management Shell as administrator. Get the mailbox name with the Get-MailboxDatabase cmdlet. In our example, the name of the unique database is Mailbox Database 1237333779. After we find the name, rename the default mailbox database with Set-MailboxDatabase cmdlet. Verify if the database name is changed.

The database is successfully renamed. If you want to rename the database with Exchange Admin Center, follow the steps below.

Rename Exchange 2016 default database with EAC

When logging into EAC, use the fully-qualified domain name (FQDN) of the Exchange server in the format https://<ServerFQDN>/ecp. For example, https://ex01-2016.local/ecp. To access the EAC in a web browser on the Exchange server itself, you can use the value https://localhost/ecp.

Log in to the Exchange Admin Center (EAC). In the left menu click servers and follow with databases. Click the Mailbox Database<unique name> and click the edit icon.

Rename Exchange 2016 database with PowerShell edit database

Click general in the left pane and change the name of the Exchange database. I recommend starting with the database named DB01. Click Save when finished.

Rename Exchange 2016 database with PowerShell rename database

Confirm that the default mailbox database in Exchange Server 2016 is renamed.

Rename Exchange 2016 database with PowerShell check result

That’s great. Successfully renamed the database! Did you rename Exchange 2016 database with PowerShell or with EAC?

Read the Exchange database best practices for more information. It’s recommend to move the database to another disk drive. Don’t keep the database in the C:\ drive. Before you move the database to another drive, read how to configure ReFS volume in Exchange. After that, move the database to the created ReFS volume.

Conclusion

In this article, you learned how to rename Exchange 2016 database with PowerShell. You also learned how to rename the default mailbox database in Exchange Admin Center. Did you enjoy this article? You may also like to read Create email address policy Exchange 2016. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect and IT Consultant. His specialism is designing and building complex enterprise environments. He started Information Technology at a very young age, and his goal is to teach and inspire others. Connect with ALI TAJRAN on social media. Read more »

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top