Looking for command line command to show remote services...

Discussion in 'Windows Server' started by Patrick R., Nov 28, 2007.

  1. Patrick R.

    Patrick R. Guest

    and I can't for the life of me remember how to do this and my notes are at
    home. So would someone refresh my memory and tell me how to show services
    running on a remote machine and I want to do this from a command prompt from
    my machine. Both machines are XP and patched, in a domain.thanks
    Patrick R., Nov 28, 2007
    1. Advertisements

  2. Patrick R.

    John John Guest

    You should be able to do this with tasklist or pslist.

    John John, Nov 28, 2007
    1. Advertisements

  3. Patrick R.

    Patrick R. Guest

    Nope, I cannot get there through the GUI and that's why I am looking for a
    command line command, and I think it's something like net show or view but
    I'm still looking but thanks for replying.
    Patrick R., Nov 28, 2007
  4. How about

    sc \\remotepc query ServiceName

    Pegasus \(MVP\), Nov 29, 2007
  5. Patrick R.

    Patrick R. Guest

    Thanks Pegasus, that does work. But and for extra credit work only, ha! I'm
    still looking for a different command, and I think it's net view net show, or
    show /? something like that. I'm also looking for a windows powershell
    solution as well. Thanks
    Patrick R., Nov 29, 2007
  6. Patrick R.

    The_Nite_Owl Guest

    I have some VBS code that will list out services on a remote device. I also
    have some code I put together to toggle a service on or off.
    It is not an existing option that you are looking for but it is simple code
    you can execute from the command line or even from within the GUI.
    The_Nite_Owl, Nov 29, 2007
  7. Patrick R.

    Guest Guest

    What about SC?

    Works in XP etc...



    Guest, Nov 30, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.