Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Perl Remote Commands

by anshumangoyal (Scribe)
on Jul 10, 2012 at 19:28 UTC ( [id://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 (Patriarch) 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 (Patriarch) 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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2024-04-24 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found