Configuring Database Availability Group network settings

The Exchange Management Shell includes several cmdlets that allow you to configure the network connections used by servers in a Database Availability Group (DAG). After you have created DAG networks, or after they've been added automatically by DAG network discovery, you can view the DAG networks and their settings, modify the replication configuration, or remove them completely. This recipe provides multiple examples of how you can perform all of these tasks from the shell.

How to do it...

To view the configuration settings of your existing DAG networks, use the Get-DatabaseAvailabilityGroupNetwork cmdlet :

The output from the cmdlet shows that there are currently two DAG networks in an organization ...

Get Microsoft Exchange 2010 PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.