Exchange 2019:- Delete the default mailbox database created by Exchange with PowerShell

Posted on
6,159 Points
Last Modified:
Experience Level: Intermediate
Edward van Biljon
Experienced Messaging Specialist with a demonstrated history of working in the information technology and services industry.
In this video we walk you through the process of finding a database using PowerShell and then deleting the default database from an Exchange Mailbox Server that is created when you install Exchange Server 2019.

Video Steps

1. Launch Exchange Management Shell

Click on start and then expand Microsoft Exchange Server 2019. Right Click on Exchange Management Shell and runas Administrator.

2. Type in command

At the prompt, type in the following command: Get-MailboxDatabase and press enter.

3. Remove Database

Once you have found the database, you can run the following command: Remove-mailboxdatabase -identity "Database name" -confirm:$all
Public Folders in Exchange Server - Amazingly flexible and a lot more than just emails.
This is a comparison of three common ways to run commands remotely on Windows machines. I will look at the risks, that are involved and make a recommendation based on that.