List Services via CMD

Asked

Viewed 2,039 times

1

I’m using the remote wmic service get displayname,name,state to List Windows Services.

I would like to know if it is possible to list via CMD one or more Specific Services.

In this scenario I want to list the Status of Firebirdserverdefaultinstance and Sqlserveragent Services.

2 answers

1


You can use the clause where, as follows:

wmic service where 'name like "FirebirdServerDefaultInstance " or name like "SQLServerAgent"' get displayname,name,state

0

I know this question is very old, but you can also use the following command:

wmic service get displayname,name,state | findstr "nome_serviço"

Or even:

sc queryex type=service state=all | find /i "nome_serviço"

Browser other questions tagged

You are not signed in. Login or sign up in order to post.