Every mailbox database in Exchange 2010 has white space. It’s free space which can be used before .edb file will grow.
Sometimes we need to create free space in database right now if we want to avoid of growing of .edb file.
To get free space in mailbox database we can do the following:
- move few mailboxes from mailbox database to other mailbox database
- purge disabled mailboxes
- purge soft-deleted mailboxes
Exchange 2010 check AvailableNewMailboxSpace (white space) in database:
We can check available white space for new mailboxes in mailbox databases using powershell like below:
Get-MailboxDatabase -server MBX1 | select Name, DatabaseSize, AvailableNewMailboxSpace
or if we want to check only one mailbox database:
Get-MailboxDatabase DB01 | select Name, DatabaseSize, AvailableNewMailboxSpace
If we want to see all disabled mailboxes (disabled today) in database we have to wait for scheduled Cleanup Agent or we can run it from powershell:
Get-MailboxDatabase -server MBX1 | Clean-MailboxDatabase
When we run above command, all mailboxes disabled today, will be marked as disabled and we can find them in Disconnected Mailboxes.
Exchange 2010 list disabled mailboxes:
We can get informations about disabled mailboxes to know how much space we will get when we purge disabled or soft-deleted mailboxes.
To list all disabled mailboxes in all mailbox databases in server MBX1 run: