Tuesday, January 13, 2015

ADFS & Dirsync Server and Service Availability Check Script !!!

Monitoring ADFS \ Dirsync Servers are essential for an Office 365 Environment and we have various Monitoring Tools in house and available through supported 3rd party vendors for Environment availability.




This is a simple PowerShell script that checks the ADFS\ADFS proxy, Dirsync Servers Availability by testing the connection via Test-Connection cmdlet (sends ICMP echo request packets ("pings") to one or more computers) and also it checks the critical services status using Get-Service cmdlet and cumulatively report us the status in a formatted HTML report via an automated E-mail as per the scheduled task we specify.

Also you can modify this script to specify the Names of any Windows Servers in your environment and specify the Services to be monitored inside for reporting according to your requirement at ease.

Below is the Quick preview of the results simulated for a server and service unavailability.


You can download the script from Microsoft Script Center here: ADFS & Dirsync Server and Service Availability Check Script

No comments:

Post a Comment