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.
  • Comment on I need to write a script which should start and stop a service in a windows server

Replies are listed 'Best First'.
Re: I need to write a script which should start and stop a service in a windows server
by Marshall (Canon) on Sep 07, 2012 at 11:23 UTC
    Perl is a magical tool, but it is not a mind-reader.

    The first step is see if you can do it once from the command line. Perl can help automate that stuff. But you have to be able to do it first.

Re: I need to write a script which should start and stop a service in a windows server
by Ratazong (Monsignor) on Sep 07, 2012 at 11:10 UTC

    Sure. Try this link.

    Seriously: Perlmonks is no code-writing service. We expect some more commitment from you than just copying your homework-question. Give us some specific questions where we should help, and give us some code where you are experiencing problems.

    So long, Rata
Re: I need to write a script which should start and stop a service in a windows server
by aitap (Curate) on Sep 07, 2012 at 19:14 UTC