AppCtrlScript

MAY Computer

Help

GETSERVICENAME

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Service

See also  

GETSERVICESTATE, STARTSERVICE, STOPSERVICE, PAUSESERVICE, CONTINUESERVICE

Get the internal service name from a given service display name as shown in Control-Panel->Services. Fort starting, stopping etc. the service you need to know the internal service name. If you already know the internal service name you will not need this function.

Syntax

GETSERVICENAME <VariableName>, <DisplayName>[, <Host>] 

Part

Description

<VariableName> Script variable where to store the result.
<DisplayName> Displayname of the service as shown in Control-Panel->Services.
<Host> Optional host name; if omitted the local host is assumed.