what is that syntax?
Main Topics
Browse All TopicsHello,
How does one delete a disconnected/deleted mailbox within Exchange 2007. In exchange 2003 you could run mailbox clean up right after a deletion and then purge the mailbox. I am looking for a solution available to me that is GUI based and not command line.
Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
At the bottom of this technet article, you will find 3 examples of how to permanently Disconnect, delete, and Disconnect/Delete a mailbox:
http://technet.microsoft.c
Run these two powershell commands to purge disconnected mailboxes.
Change $true to $false if you don't want to be prompted yes/no for each deletion.
$users = Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid,Da
$use
I realize this topic is old, but I just came across it because I needed help with this process as well.
From the following link, I found this info which helped me: http://www.itexperience.ne
When you have deleted an mail-enabled Active Directory account, the mailbox will be moved to Disconnected Mailbox in your Exchange Management Console.
To delete (purge) the disconnect mailboxes from a database, you run the following command from your Exchange Management Shell:
Get-MailboxStatistics -database "server\database" | where {$_.disconnectdate -ne $null} | foreach {Remove-mailbox -database $_.database -storemailboxidentity $_.mailboxguid}
This command first retrieves all disconnected mailboxes from your server\database, and then runs the Remove-mailbox command for every mailbox. To verify that only the disconnected mailboxes will be removed, you run the following command first:
Get-MailboxStatistics -database "server\database" | where {$_.disconnectdate -ne $null}
This will list all current disconnected mailboxes.
Hope this helps others.
Business Accounts
Answer for Membership
by: jkarnes12Posted on 2008-07-18 at 14:45:10ID: 22040066
There is currently not a GUI based way to permanently delete a disconnected mailbox In Exchange 2007. You hva eto use the Remove-Mailbox cmdlet