Solved

Start services in remote box

Posted on 2011-02-15
3
399 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
3 Comments
 
LVL 18

Accepted Solution

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

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

810 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