Get-EmcMailboxServer

Gets the list of mailbox database servers. If no parameters are specified, it gets a complete list of the mailbox servers in the entire organization.

 

Syntax

 

Parameters

-ID <String>

Attributes: Optional, Position: 1

Specifies the mailbox server name or ID. Wildcards are permitted. It is a positional parameter (position = 1).

 

-ExchangeSystem <IExchangeApplicationSystem>

Attributes: Optional, Position: named

Specifies the Exchange system object from which to retrieve mailbox server information.

 

-HostSystem <IWindowsHostSystem>

Attributes: Optional, Position: named

Specifies the host system associated with the specified mailbox server.

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

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

 

-DatabaseAvailabilityGroup <DatabaseAvailabilityGroup>

Attributes: Optional, Position: named

Specifies the DAG object from which to retrieve mailbox server information.

 

-MailboxDatabase <MailboxDatabase>

Attributes: Optional, Position: named

Specifies the mailbox database object from which to retrieve mailbox server information.

 

-MailboxDatabaseCopy <MailboxDatabaseCopy>

Attributes: Optional, Position: named

Specifies the mailbox database copy object from which to retrieve mailbox server information.

 

<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>$db = Get-EmcMailboxDatabase MBDB1

C:\PS>Get-EmcMailboxServer -MailboxDatabase $db

This example gets the mailbox server for the MBDB1 mailbox database.

 

-------------- Example 2 --------------

C:\PS>Get-EmcMailboxServer

This example gets the list of all mailbox database servers in the organization.

 

-------------- Example 3 --------------

C:\PS>$dag = Get-EmcDatabaseAvailabilityGroup TestDAG

C:\PS>Get-EmcMailboxServer  -DatabaseAvailabilityGroup $dag

This example gets information about all mailbox servers in TestDAG.

 

-------------- Example 4 --------------

C:\PS>$exchange = Get-EmcExchangeSystem Exchange1

C:\PS>Get-EmcMailboxServer -ExchangeSystem $exchange

This example gets information about all mailbox servers in the Exchange1 exchange system.

 

-------------- Example 5 --------------

C:\PS>$databasecopy = Get-EmcMailboxDatabasecopy db1\MS2

C:\PS>Get-EmcMailboxServer  -MailboxDatabaseCopy $databasecopy

This example gets information about the mailbox server associated with the mailbox database copy.