Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Remotely Start/Stop Services

by dasgar (Priest)
on Feb 02, 2013 at 05:54 UTC ( #1016646=note: print w/replies, xml ) Need Help??

in reply to Re: Remotely Start/Stop Services
in thread Remotely Start/Stop Services

The modules that you suggested would work great if the remote systems were Linux. But it looks like the OP in a Windows only environment. Windows doesn't come with an SSH server. Although someone could install something like openSSH or Cygwin to get an SSH server running on Windows, I'm not entirely sure that the SSH environment in that case would have to utilities to control Windows services. I personally have never tried that so I guess I could be wrong about that.

Anyways, IMHO I still think it will be much quicker and easier to use PsService or PsExec from the SysInternals suite.

Replies are listed 'Best First'.
Re^3: Remotely Start/Stop Services
by perl514 (Pilgrim) on Feb 03, 2013 at 10:24 UTC

    Hi dasgar,


    I have tried these modules on Windows and they work fine.

    If the OP wants to login to servers, he will have to have ssh installed on the Win Workstation from which he will be firing his queries. That is why I suggested the options.

    Perlpetually Indebted To PerlMonks

    use Learning::Perl; use Beginning::Perl::Ovid; print "Awesome Books"; is a boon for Windows.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016646]
and dust plays in a shaft of sunlight...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2018-07-22 18:27 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (455 votes). Check out past polls.