Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Purge a mailbox

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

722 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