Get Services

This Automation Manager object gets the SystemName, DisplayName, StartMode, State, and PathName of all services on a specific computer that are in a specified state.

Privileges

Normal

Input Parameters

Name Type Required Description
State String Yes The state of the service: All, Running, Stopped, or Disabled. If “All” is selected then services in any state will be returned.

Output Parameters

Name Type Description
Services String A list of services including SystemName, DisplayName, StartMode, State, and PathName
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
State String Yes All