+ Post New Thread
Results 1 to 4 of 4
Scripts Thread, Remote Script to only operate against powered-on machines in Coding and Web Development; One of the problems of running a script against a list of machines is that some may not be on. ...
  1. #1

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Remote Script to only operate against powered-on machines

    One of the problems of running a script against a list of machines is that some may not be on. Furthermore a POST error may defeat WoL.

    Does anybody have a template for checking for a script that only operates only machines that repond to a ping perhaps?

    TIA

  2. #2
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,993
    Thank Post
    120
    Thanked 286 Times in 263 Posts
    Rep Power
    107

    Re: Remote Script to only operate against powered-on machines

    You could get a list of machines from a net view command and parse that list although that might not be too reliable. You can also use WMI to ping as well but I have never tried it.

  3. #3

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,593
    Thank Post
    725
    Thanked 1,685 Times in 1,500 Posts
    Rep Power
    432

    Re: Remote Script to only operate against powered-on machines

    Have a look at the fastpush script for installing vnc to remote machines this checks first to see if a machine is alive if it's not it doesn't attempt to install to it and will loop to the next machine in a list.

    Ben

  4. #4
    Guest

    Re: Remote Script to only operate against powered-on machine

    here is
    fastpush with a nice program to install vnc as well
    pings list of pcs then installs

    http://forum.ultravnc.info/viewtopic.php?t=7895

SHARE:
+ Post New Thread

Similar Threads

  1. Script Need to check disk space on remote servers
    By screwuphead in forum Scripts
    Replies: 8
    Last Post: 26th November 2007, 05:28 PM
  2. Supplier - Powered speakers
    By rush_tech in forum Recommended Suppliers
    Replies: 3
    Last Post: 6th February 2007, 01:46 PM
  3. Remote desktop view of multiple machines
    By danIT in forum Windows
    Replies: 11
    Last Post: 11th January 2007, 11:31 AM
  4. Linux Powered Ice Cream
    By Geoff in forum *nix
    Replies: 8
    Last Post: 13th February 2006, 09:15 PM
  5. script to copy files to machines
    By browolf in forum Scripts
    Replies: 1
    Last Post: 28th November 2005, 10:28 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •