Check Exchange Service Status

By | 2022-08-25

This command is helpful in quickly seeing which services are running particularly after a reboot.

Get-Service | Where {$_.DisplayName -Like Microsoft Exchange*"}

How to check the Services on all Exchange servers? The check_Exchange_Services function is designed to connect to each Exchange server and list all Exchange related services. Keep in mind, different Exchange server roles can have different combinations of services.

function check_Exchange_Services($strServer)
{
Write-Host ""
Write-Host "Checking server $strServer" -ForegroundColor Cyan
Get-Service -ComputerName $strServer | Where {$_.DisplayName -Like "Microsoft Exchange*"}
}

Get-ExchangeServer | foreach { check_Exchange_Services($_.Name) }

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.