Solved

Start services in remote box

Posted on 2011-02-15
3
378 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
Comment Utility
0
 
LVL 70

Assisted Solution

by:Chris Dent
Chris Dent earned 250 total points
Comment Utility

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
Comment Utility
thanks very much.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now