Start Service

PHOTO EMBED

Tue Feb 16 2021 14:24:42 GMT+0000 (Coordinated Universal Time)

Saved by @tjcombo

Set-Service [service name] -startuptype automatic
content_copyCOPY

New-Service [-Name] <String> [-BinaryPathName] <String> [-DisplayName <String>] [-Description <String>] [-SecurityDescriptorSddl <String>] [-StartupType <ServiceStartupType>] [-Credential <PSCredential>] [-DependsOn <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

https://www.yaplex.com/blog/create-a-windows-service-using-powershell