Check Exchange Service Status
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) }
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.