Solved

purging Exchange 2010 mailboxes

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Utilizing an array to gracefully append to a list of EmailAddresses
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

738 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