Service Manager Scripting Variables
The following variables are available when the Before Started and After Stopped events.
- Service_Affinity
- Service_CommandLineArguments
- Service_Description
- Service_Executable
- service_FriendlyName
- Service_InteractWithDesktop
- Service_ManagedInput
- Service_ManagedOutput
- Service_Owner
- Service_Priority
- Service_RootDirectory
- Service_ServiceId
- Service_StartOnCPU0
- Service_Startup
- Service_StopCommands
- Service_StopCommandWait
- Service_StopDelay
- service_WorkingDirectory
The following variables are available when the After Stopped events.
- service_Pid
- Id of the process that was stopped.