SetServiceRestarts


SetServiceRestarts
    [-serviceName] <String>

Description

Set service to restart on failure (2 restart attempts)

Example


SetServiceRestartAlways -serviceName "MySvc"