Solved

purging Exchange 2010 mailboxes

Posted on 2014-09-11
5
164 Views
Last Modified: 2014-09-16
I ran the below commands to purge a series of mailboxes, however, I don't see less storage being used at the folder/file system level.  Do I need to wait until the next maintenance cycle?

cleans it

clean-mailboxdatabase "Mailbox Database 1976024156"

displays GUID's

Get-MailboxStatistics -Database "Mailbox Database 00000000" | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid

You should now see a result similar to the below

DisplayName : USERMAN
DisconnectDate : 1-7-2010 16:00:48
MailboxGuid : def4aabd-2156-5857-858f-470efc3e6f28

below will remove

Remove-Mailbox -Database "Mailbox Database 1976024156" -StoreMailboxIdentity 8ccee7f6-a930-4b12-8560-4ff285928b9d

below will verify

Get-MailboxStatistics -Database "Mailbox Database 1976024156" | Where-Object {$_.DisconnectDate -Notlike $NULL} | FL DisplayName, DisconnectDate, MailboxGuid
0
Comment
Question by:gopher_49
  • 3
  • 2
5 Comments
 
LVL 6

Expert Comment

by:Tim Phillips
ID: 40317782
You have to wait for for something like 24hrs for the space to be freed up as I recall.  It deletes the mailbox, but the space remains allocated in the database for a period of time.
0
 
LVL 6

Assisted Solution

by:Tim Phillips
Tim Phillips earned 500 total points
ID: 40317788
0
 

Accepted Solution

by:
gopher_49 earned 0 total points
ID: 40317794
I have mailbox retention days to 1.  So.. After the next maintenance cycle is should free up space, correct?

I verified the settings via the screenshot noted on this post http://filedb.experts-exchange.com/incoming/2011/06_w24/467201/Exchange-Mailbox-Retention.png
0
 

Author Comment

by:gopher_49
ID: 40320812
I just noticed that space is not being freed up.  I deleted 5 x mailboxes via the commands noted above.  I had my mailbox deletion retention policy set to 1 day.  It's been two days and not space has been released.  I do not wish to take the DB offline to free up space.  What else can I do?
0
 

Author Closing Comment

by:gopher_49
ID: 40324916
The first link demonstrates how to change the default mailbox deletion retention policy.  The second link shows where the setting is via the EMC GUI.
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

Utilizing an array to gracefully append to a list of EmailAddresses
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
In this video we show how to create a mailbox database 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 Servers >> Data…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

773 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