The “Get-Service” PowerShell command can be used to display the status of all services on a machine. To make this easier to read, and to narrow down the results to specific services, you can pipe the output to “Where” and filter the results.
The following command displays a list of Microsoft Exchange related services, and their statuses.
Get-Service | Where {$_.DisplayName -Like "*Exchange*"} | ft DisplayName, Name, Status
Example output:
This command can be modified easily to filter for another service name if required.