Exchange 2019 – Create an Exchange database using PowerShell
In Exchange it is easy to create a database with the Exchange Admin Center but you can create it very easily with PowerShell.
Most Exchange Admins use mount-points to store an Exchange database and logs as this is stored on a SAN and not on the Server itself.
To create a database and log directory use the following Powershell command:
- New-MailboxDatabase -Server Exchange-2019 -Name “STORE1” -EdbFilePath C:\MBXDATA\Store1\STORE1.edb -LogFolderPath C:\MBXDATA\Store1\Logs
Once it is created you need to restart the Exchange Information Store Service so it can take effect.
After that you need to mount the database.
Hope it helps.