Once you've created a Database Availability Group, you'll need to add DAG members. In this recipe, you'll learn how to add mailbox servers to a DAG using the Exchange Management Shell.
Adding mailbox servers to a Database Availability Group
How to do it...
To add a mailbox server to a DAG, use the Add-DatabaseAvailabilityGroupServer cmdlet:
Add-DatabaseAvailabilityGroupServer DAG ' -MailboxServer MBX1
In this example, the MBX1 server is added to a database availability group named DAG.
How it works...
In order to run the Add-DatabaseAvailabilityGroupServer...