Permanently delete a mailbox: Exchange 2013 Help (2024)

  • Article

Applies to: Exchange Server 2013

When you permanently delete active mailboxes and disconnected mailboxes, all mailbox contents are purged from the Exchange mailbox database, and the data loss is permanent. When you permanently delete an active mailbox, the associated Active Directory user account is also deleted.

An alternative to permanently deleting a mailbox is to disconnect it. After you disconnect a mailbox, by default, it's retained in the mailbox database for 30 days. This gives you the opportunity to reconnect or restore a mailbox before it's purged from the database.

To learn more about disconnected mailboxes and perform other related management tasks, see the following topics:

Note

You can't use the EAC to permanently delete an active mailbox or a disconnected mailbox.

What do you need to know before you begin?

  • Estimated time to complete: 2 minutes.

  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Recipient Provisioning Permissions" section in the Recipients Permissions topic.

  • For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

Tip

Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server.

Permanently delete an active mailbox

Use the Shell to permanently delete an active mailbox

Run the following command to permanently delete an active mailbox and the associated Active Directory user account.

Remove-Mailbox -Identity <identity> -Permanent $true

Note

If you don't include the Permanent parameter, the deleted mailbox is retained in the mailbox database for 30 days, by default, before it's permanently deleted.

For detailed syntax and parameter information, see Remove-Mailbox.

How do know you've permanently deleted an active mailbox?

To verify that you've permanently deleted an active mailbox, do the following:

  1. Verify that the mailbox is no longer listed in the EAC.

  2. Verify that the associated user account is no longer listed in Active Directory Users and Computers.

  3. Replace <DisplayName> with the display name of the mailbox, and run the following commands to verify that the mailbox was successfully purged from the Exchange mailbox database.

    $dbs = Get-MailboxDatabase$dbs | foreach {Get-MailboxStatistics -Database $_.DistinguishedName} | where {$_.DisplayName -eq "<DisplayName>"}

    If you successfully purged the mailbox, the command won't return any results. If the mailbox wasn't purged, the command will return information about the mailbox.

Permanently delete a disconnected mailbox

Use the Shell to permanently delete a disconnected mailbox

There are two types of disconnected mailboxes: disabled and soft-deleted. You must specify one of these types when running the cmdlet to permanently delete the mailbox. If the type you specify doesn't match the actual type of the disconnected mailbox, the command fails.

Replace <DisplayName> with the display name of the mailbox, and run the following commands to determine whether a disconnected mailbox is disabled or soft-deleted.

$dbs = Get-MailboxDatabase$dbs | foreach {Get-MailboxStatistics -Database $_.DistinguishedName} | where {$_.DisplayName -eq "<DisplayName>"} | Format-List DisplayName,MailboxGuid,Database,DisconnectReason

The value for the DisconnectReason property for disconnected mailboxes will be either Disabled or SoftDeleted.

You can run the following commands to display the type for all disconnected mailboxes in your organization.

$dbs = Get-MailboxDatabase$dbs | foreach {Get-MailboxStatistics -Database $_.DistinguishedName} | where {$_.DisconnectReason -ne $null} | Format-List DisplayName,MailboxGuid,Database,DisconnectReason

Warning

When you use the Remove-StoreMailbox cmdlet to permanently delete a disconnected mailbox, all its contents are purged from the mailbox database and the data loss is permanent.

This example permanently deletes the disabled mailbox with the GUID 2ab32ce3-fae1-4402-9489-c67e3ae173d3 from mailbox database MBD01.

Remove-StoreMailbox -Database MBD01 -Identity "2ab32ce3-fae1-4402-9489-c67e3ae173d3" -MailboxState Disabled

This example permanently deletes the soft-deleted mailbox for Dan Jump from mailbox database MBD01.

Remove-StoreMailbox -Database MBD01 -Identity "Dan Jump" -MailboxState SoftDeleted

This example permanently deletes all soft-deleted mailboxes from mailbox database MBD01.

Get-MailboxStatistics -Database MBD01 | where {$_.DisconnectReason -eq "SoftDeleted"} | ForEach {Remove-StoreMailbox -Database $_.Database -Identity $_.MailboxGuid -MailboxState SoftDeleted}

For detailed syntax and parameter information, see Remove-StoreMailbox and Get-MailboxStatistics.

How do you know you've permanently deleted a disconnected mailbox?

To verify that you've permanently deleted a disconnected mailbox and that it was successfully purged from the Exchange mailbox database, replace <DisplayName> with the display name of the mailbox, and run the following commands.

$dbs = Get-MailboxDatabase$dbs | foreach {Get-MailboxStatistics -Database $_.DistinguishedName} | where {$_.DisplayName -eq "<DisplayName>"}

If you successfully purged the mailbox, the command won't return any results. If the mailbox wasn't purged, the command will return information about the mailbox.

Permanently delete a mailbox: Exchange 2013 Help (2024)
Top Articles
The impact of inflation on forex rates: Unveiling the 5 key causes
From Side Hustle To Full-Time Income: Are You Ready?
Duralast Gold Cv Axle
Skylar Vox Bra Size
Minooka Channahon Patch
Joliet Patch Arrests Today
Tyson Employee Paperless
How To Do A Springboard Attack In Wwe 2K22
Plaza Nails Clifton
Vaya Timeclock
Shorthand: The Write Way to Speed Up Communication
Unraveling The Mystery: Does Breckie Hill Have A Boyfriend?
123 Movies Black Adam
Craigslist Labor Gigs Albuquerque
Voyeuragency
2016 Hyundai Sonata Price, Value, Depreciation & Reviews | Kelley Blue Book
Sams Early Hours
Find Such That The Following Matrix Is Singular.
Gem City Surgeons Miami Valley South
Craigslist Mt Pleasant Sc
Golden Abyss - Chapter 5 - Lunar_Angel
Jang Urdu Today
Vegito Clothes Xenoverse 2
Jenna Ortega’s Height, Age, Net Worth & Biography
Construction Management Jumpstart 3Rd Edition Pdf Free Download
3Movierulz
Craigs List Jonesboro Ar
2004 Honda Odyssey Firing Order
Lincoln Financial Field, section 110, row 4, home of Philadelphia Eagles, Temple Owls, page 1
Inmate Search Disclaimer – Sheriff
Where Can I Cash A Huntington National Bank Check
Old Peterbilt For Sale Craigslist
Missouri State Highway Patrol Will Utilize Acadis to Improve Curriculum and Testing Management
CVS Near Me | Somersworth, NH
Top-ranked Wisconsin beats Marquette in front of record volleyball crowd at Fiserv Forum. What we learned.
In Polen und Tschechien droht Hochwasser - Brandenburg beobachtet Lage
Craigslist Lakeside Az
Other Places to Get Your Steps - Walk Cabarrus
Craigslist en Santa Cruz, California: Tu Guía Definitiva para Comprar, Vender e Intercambiar - First Republic Craigslist
manhattan cars & trucks - by owner - craigslist
Gas Buddy Il
Costco The Dalles Or
What is a lifetime maximum benefit? | healthinsurance.org
Rise Meadville Reviews
Dragon Ball Super Card Game Announces Next Set: Realm Of The Gods
Sapphire Pine Grove
Strawberry Lake Nd Cabins For Sale
Morbid Ash And Annie Drew
Southwind Village, Southend Village, Southwood Village, Supervision Of Alcohol Sales In Church And Village Halls
Craigs List Sarasota
Latest Posts
Article information

Author: Velia Krajcik

Last Updated:

Views: 5534

Rating: 4.3 / 5 (74 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Velia Krajcik

Birthday: 1996-07-27

Address: 520 Balistreri Mount, South Armand, OR 60528

Phone: +466880739437

Job: Future Retail Associate

Hobby: Polo, Scouting, Worldbuilding, Cosplaying, Photography, Rowing, Nordic skating

Introduction: My name is Velia Krajcik, I am a handsome, clean, lucky, gleaming, magnificent, proud, glorious person who loves writing and wants to share my knowledge and understanding with you.