New Mailbox Database using PowerShell In this post I will create a new Mailbox Database for Exchange 2016 using PowerShell. Available Syntax for the cmdlet “New-MailboxDatabase”
|
New-MailboxDatabase -Name -Server [-AutoDagExcludeFromMonitoring <$true | $false>] [-IsExcludedFromInitialProvisioning ] [-IsExcludedFromProvisioning <$true | $false>] [-IsSuspendedFromProvisioning <$true | $false>] [-OfflineAddressBook ] [-PublicFolderDatabase ] [-Confirm []] [-DomainController ] [-EdbFilePath ] [-LogFolderPath ] [-MailboxProvisioningAttributes ] [-SkipDatabaseLogFolderCreation ] [-WhatIf []] [] |
To get started we need to launch the Exchange PowerShell console and the run the following cmdlet.
|
New-MailboxDatabase -Name "DB1" -Server ThatLazyEX-02 -EdbFilePath D:\DB\DB1.edb -LogFolderPath D:\Logs\ |
Next is to mount the newly created DB.
Lets…