Start Service
Start the service with the given display name.
Privileges
Normal
Input Parameters
Name | Type | Required | Description |
---|---|---|---|
Service Name | String | Yes | The display name of the service. |
If Disabled Set Startup Type | Boolean | No | If the service is in a disabled state, this option allows the user to set the startup type to Automatic or Manual. |
Output Parameters
Name | Type | Description |
---|---|---|
Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
Name | Type | Required | Example |
---|---|---|---|
Service Name | String | Yes | Print Spooler |
If Disabled Set Startup Type | Boolean | No | Automatic |