Zoomed Image

AMSX Scripting Language - Command : servicestopped

Summary

Check whether a Windows service is stopped

Description

Queries the Windows Service Control Manager and sets MSRESULT to 1 if the named service is in the Stopped state, or 0 otherwise.

Parameters

ParameterDescription
cmdWindows service name

Syntax


ServiceStopped "Windows service name"

Return to the AMSX Command Reference