Syntax
Get-EmcExchangeSystem [[-ID] <String>] [-DatabaseAvailabilityGroup <DatabaseAvailabilityGroup>] [-Silent] [<CommonParameters>]
Get-EmcExchangeSystem [[-ID] <String>] [-Silent] [-MailboxServer <MailboxServer>] [<CommonParameters>]
Get-EmcExchangeSystem [[-ID] <String>] [-Silent] [-MailboxDatabase <MailboxDatabase>] [<CommonParameters>]
Get-EmcExchangeSystem [[-ID] <String>] [-Silent] [-MailboxDatabaseCopy <MailboxDatabaseCopy>] [<CommonParameters>]
Parameters
-ID <String>
Attributes: Optional, Position: 1
Specifies the mailbox database name or ID. Wildcards are permitted.
-DatabaseAvailabilityGroup <DatabaseAvailabilityGroup>
Attributes: Optional, Position: named
Specifies the mailbox DAG.
-Silent <SwitchParameter>
Attributes: Optional, Position: named
Turns off all the informational and verbose messages. However, it still displays errors.
-MailboxServer <MailboxServer>
Attributes: Optional, Position: named
Specifies the mailbox server.
-MailboxDatabase <MailboxDatabase>
Attributes: Optional, Position: named
Specifies the mailbox database.
-MailboxDatabaseCopy <MailboxDatabaseCopy>
Attributes: Optional, Position: named
Specifies the mailbox database copy.
<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>$mailserver = Get-EmcMailboxServer MS1
C:\PS>Get-EmcExchangeSystem -MailboxServer $mailserver
This example gets the exchange system for the MS1 mailbox server.
-------------- Example 2 --------------
C:\PS>$dag = Get-EmcDatabaseAvailabilityGroup TestDAG
C:\PS>Get-EmcExchangeSystem -DatabaseAvailabilityGroup $dag
This example gets the exchange system for the TestDAG DAG.
-------------- Example 3 --------------
C:\PS>$database = Get-EmcMailboxDatabase db1
C:\PS>Get-EmcExchangeSystem -MailboxDatabase $database
This example gets the exchange system for the db1 mailbox database.
-------------- Example 4 --------------
C:\PS>$databasecopy = Get-EmcMailboxDatabasecopy db1\MS2
C:\PS>Get-EmcExchangeSystem -ID exchange1 -MailboxDatabaseCopy $databasecopy
This example gets the exchange1 Exchange system for the db1 mailbox database copy on the MS2 mailbox server.