For Each Computer

This is a batch script called FOR_EACH_COMPUTER.CMD which runs a command for each matching computer on your network. You give it one-or-more patterns to match against computer names, optionally with one-or-more exclude patterns to filter out.

It depends on the NET VIEW command to get the list of computers on the network. That traditionally depended on the NetBIOS browse list. It may work on modern networks.

The documentation is present at the top of the file.

It doesn't automatically run the command *on* the computer (although you can use PSEXEC.EXE to do that).

It includes an example script filever_example.CMD which reports the version of two files on every computer found.

Download: for_each_computer_2010-03-25.zip