Restart Service

Restart 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.
Force Boolean Yes Determines if the service should be shut down when dependent services will also be shut down.

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