locked
How to find service name from exe RRS feed

  • Question

  • I want to install a service via Installutil.exe and it works for me

    But how  I find the service name I only have the exe file name

    Wednesday, March 7, 2018 1:56 PM

Answers

All replies

  • Search from here:


    get-ciminstance win32_service | select processid,name,pathname |
    where pathname -match myprog.exe






    • Proposed as answer by Martien van Dijk Wednesday, March 7, 2018 3:10 PM
    • Edited by JS2010 Thursday, March 8, 2018 4:15 PM
    Wednesday, March 7, 2018 3:03 PM
  • Beautiful :-)
    Thursday, March 8, 2018 11:30 AM