Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
There is no standard service in Windows that lets you do this except PowerShell (available in newer versions) which is a completely closed ecosystem of signed commandlets and twisted idioms. If anyone finds a simple way to invoke PowerShell remotely using Perl they deserve a Nobel Prize.

AFAIK you will need to either find a suitable "server" software package to install on each Windows host, or write your own. Keep in mind that if you want to use anything like this in a production environment you will need a firm understanding of the security challenges involved. How will you handle authorization and authentication in a way that does not expose sensitive information?

Edit: As was pointed out, I read the question a liiittle too fast. :o)

Ye Olde rsh and telnet are to be used only where security issues can be completely ignored. SSH is much better but still only as secure as the weakest endpoint; if someone finds the password or keys they will have the same access as you do.

-- Time flies when you don't know what you're doing

In reply to Re: How to connect to unix machine from Windows and execute command by FloydATC
in thread How to connect to unix machine from Windows and execute command by Divakar

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    [Discipulus]: c'mon bro' 20 begincheck and you are ok..

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (7)
    As of 2017-10-16 22:35 GMT
    Find Nodes?
      Voting Booth?
      My fridge is mostly full of:

      Results (217 votes). Check out past polls.