Solved

Start services in remote box

Posted on 2011-02-15
3
419 Views
Last Modified: 2012-05-11
is any of the below commands able to start a service in another box, with extra options?
thanks
----------------------------------------
SC start service_name
net start <service_name>
get-serivce service_name | Start-service
0
Comment
Question by:anushahanna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Accepted Solution

by:
Anil Golamari earned 250 total points
ID: 34898402
0
 
LVL 71

Assisted Solution

by:Chris Dent
Chris Dent earned 250 total points
ID: 34898448

sc: Yes. e.g.

sc computer_name start service_name

net start: No

Get-Service | Start-Service: No.

Although for this one you can use:

(Get-Service "SomeService").Start()
(Get-Service "SomeService").Stop()

Chris
0
 
LVL 6

Author Comment

by:anushahanna
ID: 34898501
thanks very much.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question