script to start/stop a service in another computer in same domain

In local computer the command line to s tart a service is: net start service_name.
What is the command line to start/stop a service in another computer in same domain.
Or is there any equivalent script to do the job.?
LVL 3
mordiAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Redwulf__53Connect With a Mentor Commented:
sc \\server start service_name
Type "sc /?" at the command prompt to see the complete syntax.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
You can use SC - part of the resource kit.  Usage details:
http://www.ss64.com/nt/sc.html

Otherwise, you can use:
PSSERVICE, part of the PSTools
http://www.sysinternals.com/Utilities/PsService.html
0
 
Redwulf__53Commented:
ooow leew you beat me by a minute....
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Excuse me, did I post essentially the same information first?
0
 
mordiAuthor Commented:
leew,
I am sorry but your info is far behind the acepted answer.
The question was: what is the command line etc. an you only answered the general command which is to be used but not the actual command to run. Also you sent a link to the web site but i don't have time to start reading all the stuff and finding the command.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.