Change a service startup type by PowerShell

Set-Service –Name theservice –Computer thecomputer –StartupType “selectedType”

Where selectedType value can be:

  • Automatic
  • Manual
  • Disabled

Comments