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

Posted on
6,009 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 to fix search issues due to corrupted index/catalog..
Exchange Server OWA/ECP can be secured Exchange with MFA, Google Re-Captcha, and limiting access to certain IP addresses. MFA can be done with third-party providers or a hybrid system with Exchange Online. ReCaptcha can be integrated using a Google …

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month