Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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?

Comment on Perl Remote Commands
Re: Perl Remote Commands
by xyzzy (Pilgrim) on Jul 10, 2012 at 19:36 UTC
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 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 patcat88 (Deacon) on Jul 10, 2012 at 20:09 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2014-09-21 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (172 votes), past polls