Solved

Purge a mailbox

Posted on 2008-06-16
4
3,284 Views
Last Modified: 2008-07-07
I've created a mailbox called Test1 in Exchange 2007 and after I've tested the mailflow I've deleted it by clicking on Remove in Exchange Management Console | Recipient Configuration | Mailbox.

However, the mailbox is still listed by:

Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label="TotalItemSize(KB)";expression={$_.TotalItemSize.Value.ToKB()}},ItemCount

How can I permenantly get rid of it, so it no longer shows in the script above?
0
Comment
Question by:mihaisz
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
Andres Perales earned 500 total points
ID: 21797895
When you delete a mailbox / account it stays in the directory until the system purges after set amount of time.  

Check you deletion settings under your Mailbox store for the setting labeled keep deleted mailbox this number of days, see what you have there, i think the default is 30 days or something...you can change that to zero the do a for update and that should clean it up, just becareful with those settings.
0
 

Author Comment

by:mihaisz
ID: 21797940
Could you tell where precisely is that setting?
0
 

Expert Comment

by:ebarkho
ID: 21945386
Open EMC on any Exchange 2007 server - Server Config - Click on Server that holds that DB - Right Click properties on the DB - Limits Tab - On the bottom half, Keep deleted mailboxes for (days):
0
 

Author Comment

by:mihaisz
ID: 21949624
This is what I have under Server Configuration | right click on the server name and Properties | Limits Tab:

Retries
Message Expiration
Notifications
Connection Restrictions.

I have 1 server and Exchange 2007 SP1.
I'll keep on looking...
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now