The first thing that comes to mind is to do something like what Limbic~Region suggested - which is to have Perl scripts running on the two systems that communicate with each other somehow (web interface, files on shared storage, etc.).

Here's a general idea of what I used between two Windows systems, but should work for you. On one system, I used IO::Socket::INET::Daemon to create a "telnet" server that would run do something with local hardware and return information to the client. I used Task Scheduler to start the script on system start even if no user is logged on. Then I used Net::Telnet from another system to interact with the "telnet" server.

Regardless of the route that you choose to go, the basic idea is that you have to have some kind of service (such as web/telnet/ssh server or script/executable running) on the Windows system, which means that you will have to make some kind of change to the Windows system so that something is running so that your remote system can interact with it.


In reply to Re: Fire a script on Windows from Linux by dasgar
in thread Fire a script on Windows from Linux by TechFly

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.