Solved

purging Exchange 2010 mailboxes

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
To show how to generate a certificate request 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 >> Certificates…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

860 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