Book Image

Microsoft Exchange Server Powershell Cookbook (Update)

Book Image

Microsoft Exchange Server Powershell Cookbook (Update)

Overview of this book

Table of Contents (21 chapters)
Microsoft Exchange Server PowerShell Cookbook Third Edition
Credits
About the Authors
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 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 of the preceding 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 create a DAG network for...