Solved

Purge a mailbox

Posted on 2008-06-16
4
3,335 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In this video we show how to create an email address policy 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 Mail Flow…
how to add IIS SMTP to handle application/Scanner relays into office 365.

734 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