Thanks to the Exchange Management Shell you can check the status of your Exchange Server 2007 services with a single command line.
[PS] C:\>Get-Service | Where {$_.Name -match "Exchange"}
Status DisplayName
------ -----------
Running Microsoft Exchange Active Directory...
Running Microsoft Exchange Anti-spam Update
Running Microsoft Exchange EdgeSync
Running Microsoft Exchange File Distribution
Stopped Microsoft Exchange IMAP4
Running Microsoft Exchange Information Store
Running Microsoft Exchange Mailbox Assistants
Running Microsoft Exchange Mail Submission
Stopped Microsoft Exchange Monitoring
Stopped Microsoft Exchange POP3
Running Microsoft Exchange Replication Service
Running Microsoft Exchange System Attendant
Running Microsoft Exchange Search Indexer
Running Microsoft Exchange Service Host
Running Microsoft Exchange Transport
Running Microsoft Exchange Transport Log Se...
Running Microsoft Search (Exchange)



hai,
thanks for ur information.
why not just use:
get-service msexchange*