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

Posted on
6,008 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
Spam and phishing are threats to every network with email. Combat these attacks with a prepended warning to your users!
What to do if there looks to be a compromise of on-premises Exchange. This list is _not_ complete but an aggregate of the various things we have in our toolbox.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month