Jump to content

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


Recommended Posts

Guest Patrick R.
Posted

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

  • Replies 7
  • Created
  • Last Reply
Guest John John
Posted

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

 

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

 

John

 

Patrick R. wrote:

> 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

Posted

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

 

On Nov 28, 9:33 pm, Patrick R. <Patri...@discussions.microsoft.com>

wrote:

> 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

 

I cant remember either, can you not connect thru the local computer

management mmc, then drill down to services, very quick to do

 

G

Guest Patrick R.
Posted

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

 

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.

 

"gstar" wrote:

> On Nov 28, 9:33 pm, Patrick R. <Patri...@discussions.microsoft.com>

> wrote:

> > 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

>

> I cant remember either, can you not connect thru the local computer

> management mmc, then drill down to services, very quick to do

>

> G

>

Guest Pegasus \(MVP\)
Posted

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

 

How about

 

sc \\remotepc query ServiceName

 

 

"Patrick R." <PatrickR@discussions.microsoft.com> wrote in message

news:BB6622D2-C970-43E3-A1F0-4844D960FC2E@microsoft.com...

> 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.

>

> "gstar" wrote:

>

>> On Nov 28, 9:33 pm, Patrick R. <Patri...@discussions.microsoft.com>

>> wrote:

>> > 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

>>

>> I cant remember either, can you not connect thru the local computer

>> management mmc, then drill down to services, very quick to do

>>

>> G

>>

Guest Patrick R.
Posted

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

 

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

 

"Pegasus (MVP)" wrote:

> How about

>

> sc \\remotepc query ServiceName

>

>

> "Patrick R." <PatrickR@discussions.microsoft.com> wrote in message

> news:BB6622D2-C970-43E3-A1F0-4844D960FC2E@microsoft.com...

> > 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.

> >

> > "gstar" wrote:

> >

> >> On Nov 28, 9:33 pm, Patrick R. <Patri...@discussions.microsoft.com>

> >> wrote:

> >> > 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

> >>

> >> I cant remember either, can you not connect thru the local computer

> >> management mmc, then drill down to services, very quick to do

> >>

> >> G

> >>

>

>

>

Guest The_Nite_Owl
Posted

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

 

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.

 

"Patrick R." <PatrickR@discussions.microsoft.com> wrote in message

news:CFAC717F-7477-43B2-A468-F09B724C7279@microsoft.com...

> 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

>

> "Pegasus (MVP)" wrote:

>

>> How about

>>

>> sc \\remotepc query ServiceName

>>

>>

>> "Patrick R." <PatrickR@discussions.microsoft.com> wrote in message

>> news:BB6622D2-C970-43E3-A1F0-4844D960FC2E@microsoft.com...

>> > 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.

>> >

>> > "gstar" wrote:

>> >

>> >> On Nov 28, 9:33 pm, Patrick R. <Patri...@discussions.microsoft.com>

>> >> wrote:

>> >> > 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

>> >>

>> >> I cant remember either, can you not connect thru the local computer

>> >> management mmc, then drill down to services, very quick to do

>> >>

>> >> G

>> >>

>>

>>

>>

Guest harrykrishna.nospam@online.ie
Posted

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

 

Patrick R. <PatrickR@discussions.microsoft.com> wrote:

>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

>

>"Pegasus (MVP)" wrote:

>

>> How about

>>

>> sc \\remotepc query ServiceName

>>

>>

>> "Patrick R." <PatrickR@discussions.microsoft.com> wrote in message

>> news:BB6622D2-C970-43E3-A1F0-4844D960FC2E@microsoft.com...

>> > 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.

>> >

>> > "gstar" wrote:

>> >

>> >> On Nov 28, 9:33 pm, Patrick R. <Patri...@discussions.microsoft.com>

>> >> wrote:

>> >> > 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

>> >>

>> >> I cant remember either, can you not connect thru the local computer

>> >> management mmc, then drill down to services, very quick to do

>> >>

>> >> G

>> >>

>>

>>

>>

 

 

What about SC?

 

Works in XP etc...

 

HTH

 

Ha®®y

 

HarryKrishna.nospam@online.ie


×
×
  • Create New...