Here’s a few quick PowerShell commands that will allow you to Disable or Enable a Service and Start or Stop a particular service.

To Enable a particular service run the following command. (Please Edit ServiceName to the desired service)

Set-Service ServiceName -StartupType Automatic

To Disable a particular service run the following command.

Set-Service ServiceName -StartupType Disabled

To Stop a particular service run the following command.

Stop-Service ServiceName

To Start a particular service run the following command.

Start-Service ServiceName

You can also combine the commands in a ps1 file , for example if you want to Disable and Stop a Service you would run the following.

“Set-Service ServiceName -StartupType Disabled
Stop-Service ServiceName”

Post to Twitter