Hi guys I've opened my big mouth and landed myself in it (again)! Being a bit of a cheerleader for Perl I responded positively when asked if I thought Perl could be used to solve a common problem that we have! Having looked through cpan for modules that may perform this task I may have to eat my words unless some very helpful monk can point me in the right direction. We have 800 PC's (running Windows XP) that require to be updated with application software every time a new release comes our way. As these PC's are spread out all over the country we need a script that is to be run several nights in a row to establish whether or not we can switch these PC's on and off remotely. Over a period of a week or so any PC that can't be switched on and off remotely will get a personal visit from a man with a big spanner to try and resolve this problem. Once all 800 PC's are accessable we can update them all over night and voila happy customers all! I've found modules that ping remote PC's and Net::Wake which may be what I need to awaken a PC but nothing to put it back to sleep. Can anyone give me a pointer/hint on how to accomplish this task?

In reply to Switching on & Off by Ronnie

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.