Control Sends a control to a service. EnumDepend Enumerates service dependencies. GetDisplayName Obtains the DisplayName for a service. GetKeyName Obtains the ServiceKeyName for a service. Interrogate Sends an Interrogate control request to a service.
Pause Sends a Pause control request to a service.
Query Queries the status for a service, or enumerates the status for types of services. Stop Sends a Stop request to a service. Servicename Specifies the name given to the Service key in the registry. Sc.exe uses the service key name as the primary identifier for the service. The Optionname and Optionvalue parameters allow you to specify the names and values of optional command parameters.