Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Need to stop and start a service in a windows server using admin rights..

by kalyanbhave (Initiate)
on Sep 25, 2012 at 14:19 UTC ( [id://995561]=perlquestion: print w/replies, xml ) Need Help??

kalyanbhave has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Need to stop and start a service in a windows server using admin rights..
by marto (Cardinal) on Sep 25, 2012 at 14:27 UTC
Re: Need to stop and start a service in a windows server using admin rights..
by BrowserUk (Patriarch) on Sep 25, 2012 at 15:17 UTC

    Use:

    system q[net start "your service name"]; system q[net stop "your servoce name"]

    Type net help start and net help stop at a command line for details.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://995561]
Approved by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-03-28 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found