skip to Main Content

Clear white space in Exchange database

It’s good to know how to check and clear white space in Exchange database. What’s more important is to clean white space in Exchange database, the recommend and safest way. It will take four steps to remove white space in Exchange database. In this article, you will learn how to reclaim white space in Exchange Server.

Information

To clear white space, we recommend you to follow these steps:

  1. Check white space Exchange database
  2. Create a new mailbox database
  3. Move all mailboxes from one database to another
  4. Delete old mailbox database

Check white space Exchange database

Read more in the article Get mailbox database size and whitespace.

Run Exchange Management Shell as administrator. Use the Get-MailboxDatabase cmdlet, including the AvailableNewMailboxSpace parameter, to get the available new mailbox space.

In our example, database DB01 got 107.9 GB available new mailbox space.

We want to clear white space in Exchange database DB01.

Create a new mailbox database

Read more in the article Create mailbox database in Exchange Server.

Log in to the Exchange Admin Center (EAC). Click servers in the feature pane and click databases in the tabs. Create a new mailbox database. In our example, it’s mailbox database DB02.

Clear white space in Exchange database create mailbox database

Move all mailboxes from one database to another

Read more in the article Move all mailboxes from one database to another.

Get all mailboxes from source database DB01 and move them to target database DB02.

Delete old mailbox database

Read more in the article Delete mailbox database Exchange Server.

In Exchange Admin Center, go to servers in the feature pane and click databases in the tabs. Select the database that does not have any mailboxes on. Unmount and delete the database.

Clear white space in Exchange database delete mailbox database

We did successfully reclaim white space in Exchange database. Did this help you to remove white space in Exchange database?

Keep reading: Cleanup logs Exchange 2013/2016/2019 »

Conclusion

In this article, you learned how to clear white space in Exchange database. Follow the steps closely as it’s the only correct way to reclaim white space in Exchange Server. After that, you will have a new mailbox database with all the mailboxes.

Did you enjoy this article? You may also like Get disk free space with PowerShell. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has 0 Comments

Leave a Reply

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

Back To Top