exchange 2007 purge deleted data

Posted on 2013-10-16
Medium Priority
Last Modified: 2013-12-04
have an exchange 2007 server, its near the 250gb limit. deleted data from mailboxes but it hasn't released from the store yet as I'm sure there is a setting to allow to retrieve deleted items somewhere that I am not aware of .

I need to purge this deleted data, how do I do so to free up space.
Question by:jlavery
LVL 15

Expert Comment

ID: 39578781
Purge deleted mailboxes:
$mailboxes = Get-ExchangeServer | Where-Object {$_.IsMailboxServer –eq $true} | ForEach-Object { Get-MailboxStatistics –Server $_.Name | Where-Object {$_.DisconnectDate –notlike ‘’}} | select displayname, mailboxguid, database
$mailboxes | ForEach { Remove-Mailbox -Database $_.Database -StoreMailboxIdentity $_.MailboxGuid -confirm:$false }

Open in new window


Expert Comment

ID: 39578912
You have perform the de-fragmentation  on the exchange server database.  Before defragmentation run online defragmentation of the database to make more free space. Event id 1221 in application show how much free space available in your exchange database.

To perform the defragmentation refer below link :


LVL 63

Accepted Solution

Simon Butler (Sembee) earned 1500 total points
ID: 39579261
The 250gb limit is a soft limit, so you can increase it.
Plus you can have more than one database on the server.
I wouldn't recommend following the advice to offline defrag the database, because that requires downtime and is not risk free. Create a new database, move the content to it and drop the original.

Or just increase the database limit - you can go up to 8tb.


Author Comment

ID: 39595900
simon how do i increase that db size.. there a reg entry somewhere?
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39599750

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Upgrading from older Exchange server to the latest Exchange server can be tiresome, error-prone and risky, without being a seasoned exchange server administrators. It can become even problematic if you're an organization that runs on tight timeline…
Let us take a look at the scenario, you have a database that is corrupt and you run the ESEUTIL command only to find you are unable to repair it. How do you now get the data back?
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video discusses moving either the default database or any database to a new volume.

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question