?
Solved

purging Exchange 2010 mailboxes

Posted on 2014-09-11
5
Medium Priority
?
178 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
[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
  • 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 1500 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 is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
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.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
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

777 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