Home All Groups Group Topic Archive Search About

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



Author
28 Nov 2007 9:33 PM
Patrick R.
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

Author
28 Nov 2007 10:20 PM
John John
You should be able to do this with tasklist or pslist.

John

Patrick R. wrote:

Show quote
> 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
Author
28 Nov 2007 10:22 PM
gstar
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
Author
28 Nov 2007 11:06 PM
Patrick R.
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.

Show quote
"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
>
Author
29 Nov 2007 7:31 AM
Pegasus (MVP)
How about

sc \\remotepc query ServiceName


Show quote
"Patrick R." <Patri***@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
>>
Author
29 Nov 2007 4:17 PM
Patrick R.
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

Show quote
"Pegasus (MVP)" wrote:

> How about
>
> sc \\remotepc query ServiceName
>
>
> "Patrick R." <Patri***@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
> >>
>
>
>
Author
29 Nov 2007 4:39 PM
The_Nite_Owl
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.

Show quote
"Patrick R." <Patri***@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." <Patri***@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
>> >>
>>
>>
>>

AddThis Social Bookmark Button