4

Does anyone know, if there is a shortcut to search a service in the Windows services list ?

I tried the Ctrl + F but no way.

  • 1
    What? Maybe something like Get-Service | Where-Object {$_.DisplayName -like "sql*"} in PowerShell – Austin T French Dec 2 '16 at 17:33
2

Is a shortcut to search a service in the Windows services list?

There doesn't appear to be one. Here are two workarounds.


Workaround #1 Export the list of Services to a Text File

Export the service list to a text file, and then use CtrlF in your favourite editor.

To export, use one of the following:

  • "Action" > "Export List ..."

    enter image description here

  • Press the "Export List" toolbar button.

    enter image description here

Example output (services.txt):

enter image description here


Workaround #2 Use wmic and findstr in a cmd shell.

Open a cmd shell, run wmic service and pipe to findstr.

Example:

> wmic service | findstr -i bonjour
FALSE        TRUE        Bonjour Service                                                         0           Win32_Service      Enables hardware devices and software services to automatically configur
e themselves on the network and advertise their presence.



                                                                                                                 FALSE            Bonjour Service
  Normal        0                      Bonjour Service                 "C:\Program Files\Bonjour\mDNSResponder.exe"


                                                                                                           1940       0                        Own Process    TRUE     Auto       LocalSystem
       Running  OK      Win32_ComputerSystem     HAL         0      0

Note that the above is actually a single line of output that is wrapped by the cmd shell.


Further Reading

  • Note that as of Windows 10 build 1803 (and possibly earlier), the "Export List" option is no longer available. – Paul Belanger Mar 18 at 19:59
1

I would just use PowerShell. For example matching on the DisplayName (partial matches work here)

Get-Service | Where-Object {$_.DisplayName -like "sql*"}

returns a match

Running SQLWriter SQL Server VSS Writer

You can also use -eq (equals) or look at the service name ($_.Name).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.