Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Overview of this book

Table of Contents (22 chapters)
Microsoft Exchange 2010 PowerShell Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 with a single DAG. The identity of the network, the replication state, and the associated subnets are provided.

How it works...

When you create a DAG, Exchange will automatically discover the existing network connections on each server and...