Share via


Exchange 2019: Creating new Database

In Exchange 2019 you can create new database by running below commands:  

New-mailboxdatabase -Name DB1 -Server Ex1 -edbfilepath D:\ExDB\DB1\DB1.edb -logfolderpath D:\ExDB\DB1

 

After that you can mount it using below command:  

Mount-database DB1 

 

If you want to enable circular logging for DB then use below:  

Set-mailboxdatabase DB1 ; -circularloggingenabled:$True

 

If you want to disable circular logging disabled then use below:  

Set-mailboxdatabase DB1 -corcularloggingenabled:$false