Nice, Ben Thanks. It's always good to see different approaches.
-ASB: http://XeeSM.com/AndrewBaker On Thu, Mar 25, 2010 at 8:36 PM, Ben Scott <[email protected]> wrote: > Here's another batch script I realized others might find useful. It > runs a command for every computer it finds on the network (via "NET > VIEW"). Useful when you want to do something on every computer > currently running on the LAN. You can specify patterns to match and > patterns to exclude. > > The command runs on the local computer, but you could combine it with > PSEXEC to run the commands on the remote computer. > > It includes an example that will concisely list the version of two > different OCX control files for each matching computer. > > http://sites.google.com/site/mailvortex/windows/for-each-computer > > -- Ben > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
