Zoomed Image

AMSX Scripting Language - Command : StartService

Summary

Start a Windows service if it is currently stopped

Description

Checks the Windows Service Control Manager and starts the named service if its current status is Stopped. No action is taken if the service is already running or in another state.

Parameters

ParameterDescription
cmdWindows service name to start

Syntax


StartService "Windows service name to start"

Return to the AMSX Command Reference