diff --git a/pages/windows/sc.md b/pages/windows/sc.md new file mode 100644 index 0000000000..29d1181890 --- /dev/null +++ b/pages/windows/sc.md @@ -0,0 +1,20 @@ +# sc + +> Communicate with the Service Control Manager and services. +> More information: . + +- Show the status of a service: + +`sc queryex {{service_name}}` + +- Start a service asynchronously: + +`sc start {{service_name}}` + +- Stop a service asynchronously: + +`sc stop {{service_name}}` + +- Set the type of a service: + +`sc config {{service_name}} type= {{service_type}}`