Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Perl Remote Commands

by anshumangoyal (Scribe)
on Jul 10, 2012 at 19:28 UTC ( #980933=perlquestion: print w/replies, xml ) Need Help??
anshumangoyal has asked for the wisdom of the Perl Monks concerning the following question:

Is there any Module which allows me to Execute a command remotely and get it's response. I don't wan to use SSH (as the remote machine is a Windows Machine) and I cannot use Telnet because it is not enabled/installed on the remote machine. So, without modifying too much the remote machine, how can I run a command and get it's response on a remote machine?

Replies are listed 'Best First'.
Re: Perl Remote Commands
by BrowserUk (Pope) on Jul 10, 2012 at 20:02 UTC

    What you are asking for really has little or nothing to do with Perl.

    However, the best solution is PsExec.exe

    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.

    The start of some sanity?

Re: Perl Remote Commands
by Corion (Pope) on Jul 10, 2012 at 19:50 UTC

    Depending on how your environment is set up, you can create processes on remote machines using WMI. Consult with your network / Windows administrator for the proper approach.

    Short of finding out what mechanisms are available on Windows, we can't help you. This is not as much a Perl question but a question about your computing environment, and you are much closer to the people who know about that than we are.

Re: Perl Remote Commands
by patcat88 (Deacon) on Jul 10, 2012 at 20:09 UTC
Re: Perl Remote Commands
by xyzzy (Pilgrim) on Jul 10, 2012 at 19:36 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://980933]
Approved by kcott
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2018-04-25 14:45 GMT
Find Nodes?
    Voting Booth?