Start Service
Tue Feb 16 2021 14:24:42 GMT+0000 (Coordinated Universal Time)
Saved by @tjcombo
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
Comments