Start-Win32Service

Use this command to start a service or a device for Windows. You must verify that the service you want to start (or the device you want to start) has already been installed. Please note that only installed services or devices can be started.


Settings:

  • Service name
    The name of the service in the service database. The "..." button can be used to copy any service (available on the packaging system) from the service database.
  • Wait for service to start
    Specifies that script execution does not continue until the service is started.


Example:

The example starts the DSM Runtime Service and waits until the service is started.


Corresponds to DSM eScript command:

  • StartService


See also: