Manage Windows Services using Command Prompt
I think the reason people would need this is because:
- They want to write a script that monitors or manages certain services;
- They need to login through Remote PowerShell or an SSH Server to manage the service.
Here are some quick tips for managing windows service using the command prompt:
List the status of all services.
Filter the list of services using service name and wildcards. In the example below ‘intel%’ is the service name that we are searching for and ‘%’ is the wildcard character.
Query the configuration of a service.
Configure the service to start automatically.
Disable the service.
Manually start the service.
Manually stop the service.
References:
Read other posts