Solved

purging Exchange 2010 mailboxes

Posted on 2014-09-11
5
157 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
In this video we show how to create an Accepted Domain 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 >> Ac…
To show how to create a transport rule 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 >> Rules tab.:  To cr…

744 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

15 Experts available now in Live!

Get 1:1 Help Now