New-EmcMailboxDatabase

Creates a new mailbox database on the specified mailbox database server.

 

Syntax

New-EmcMailboxDatabase -Name <String> -MailboxServer <MailboxServer> -EdbFilePath <String> -LogFolderPath <String> [-AddClusterEntities] [-Silent] [<CommonParameters>]

 

Parameters

-Name <String>

Attributes: Required, Position: named

Specifies the name of the new mailbox database.

 

-MailboxServer <MailboxServer>

Attributes: Required, Position: named

Specifies the mail box server the database will be created on.

 

-EdbFilePath <String>

Attributes: Required, Position: named

Specifies the path for the .edb file.

 

-LogFolderPath <String>

Attributes: Required, Position: named

Specifies the folder location for log files.

 

-AddClusterEntities <SwitchParameter>

Attributes: Optional, Position: named

Specifies whether or not to add cluster entities to the newly created mailbox database.

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

Turns off all the informational and verbose messages. However, it still displays errors.

 

<CommonParameters>

This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.

 

Examples

-------------- Example 1 --------------

C:\PS>$ms = Get-EmcMailboxServer MS1

C:\PS>New-EmcMailboxDatabase -Name MailboxDatabase01 -MailboxServer $ms -EdbFilePath "D:\DatabaseFiles\MailboxDatabase01.edb" -LogFolderPath "D:\LogFiles"

This example creates the MailboxDatabase01 mailbox database on the MS1 mailbox server and specifies where to create the .edb database file and log files.