Watch Exchange 2016 - Show your DAG's with colour with PowerShell

Posted on
6,006 Points
Last Modified:
Experience Level: Intermediate
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 how you can add colour to check your DAG status. The script creates a txt file and reads the output based on that and shows the colour if your DAG is healthy or suspended etc.

Video Steps

1. Launch the Exchange Management Shell (EMS)

Click on the start button and expand Microsoft Exchange 2016 and right click on Exchange Management Shell and run as admininistrator.

2. Run command to view DAG status

Run the following commmand to check the status of your DAG: Get-MailboxDatabaseCopyStatus *

3. Run command to view DAG with colour

Run the PS1 script in PowerShell to the output: .\DAGstatus.PS1
This article will help you to perform a hard match of an AD user with a cloud user when a soft match fails.
This article helps you to connect to Exchange Online Powershell without MFA