Computer User Hero

How To: Permanently Delete All User Mailboxes in Microsoft Exchange Server 2016

Be warned: When you do this, data loss is permanent and you cannot recover the data. But if you still want to go ahead, here's how.

When you permanently delete active user mailboxes and disconnected mailboxes, all mailbox contents are removed from the Exchange mailbox database and the associated active directory account is also deleted. In this case, data loss is permanent and you cannot recover the data.  

To get started, open PowerShell with administrative privileges and execute the following command.

Get-Mailbox | Remove-Mailbox -Permanent $true

To know how this worked,  execute Get-Mailbox which won’t return you any user mailbox.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish