Exchange 2019:- Database Availability Group DAG creation with PowerShell

Posted on
6,004 Points
Last Modified:
Experience Level: Beginner
Edward van Biljon
Experienced Messaging Specialist with a demonstrated history of working in the information technology and services industry.
In this video we show you in the EAC where to view and create your DAG and we show you how to create a DAG with PowerShell and explain each section of the command.

Video Steps

1. Open the Exchange management shell

Click on start and then expand Exchange Server 2016 and click on Exchange Management shell.

2. Enter the following command

Type in the following command to create your DAG: New-DatabaseAvailabilityGroup -Name DAG01 -WitnessServer DC2019 -WitnessDirectory C:\DAG01 -DatabaseAvailabilityGroupIpAddresses
This article will help you. 1. Create a contact in Exchange Online 2. Configure email forwarding to external addresses in Exchange Online (Office365).
This is a comparison of three common ways to run commands remotely on Windows machines. I will look at the risks, that are involved and make a recommendation based on that.