2
1
Introduction
According to this documentation it is possible to check which services have been stopped on Windows by executing the following command:
Get-Service | Where-Object {$_.status -eq "stopped"}
in PowerShell.
Question
Which command needs to be issued in PowerShell in order to check whether a certain service, e.g. tomcat8 exists?
Snippets from the answer have been combined in a ps1 file and it works. Thank you. – 030 – 2014-06-16T22:46:35.177