Set-Service [service name] -startuptype automatic