Welcome, Guest
Please Login or Register.    Lost Password?
No extra whitespace after mailbox move (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: No extra whitespace after mailbox move
#89
No extra whitespace after mailbox move 6 Years, 10 Months ago Karma: 0  
After moving a mailbox you notice there is no extra whitespace on the old database. The reason is that Exchange didn't deleted the mailbox from the old database yet. The mailbox will be deleted after the specfied retension policy. You can force de deletion if you need the space at once.

First check the white space:

Get-MailboxDatabase -Status | Select Servername, Name, AvailableNewMailboxSpace

Force a purge of the database:

Clean-MailboxDatabase "Mailbox Database"

Get the mailbox guid of the softdeleted mailbox:

Get-MailboxStatistics –Database "Mailbox Database" | where-object { $_.DisconnectReason –eq "Softdeleted" } | Select DisplayName,MailboxGuid

Now you will see the user and the mailbox guid you just moved. To delete the mailbox use following command:

Remove-StoreMailbox –Database "Mailbox Database" –identity <mailboxguid> –MailboxState Softdeleted
admin (Admin)
Administrator
Posts: 87
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Last Edit: 2012/01/25 11:10 By admin.
 
The administrator has disabled public write access.  
Go to top