Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Purge a mailbox

Posted on 2008-06-16
4
Medium Priority
?
3,360 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

916 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