How to detect (from the command line) if a service is available?

From: Mbene Ovambo (mbkenny_at_hotmail.com)
Date: 01/25/05


Date: Tue, 25 Jan 2005 21:43:04 +0100

I want to check if a service (in this case: openssh) is available on the local computer.
Normally I could start the service by typing

net start openssh

but this would start the service (if existing). Is there a way to find out
if the service is available without starting it?

Mbene



Relevant Pages