1: 2: 3: 4: 5: 6:
gc machines.txt foreach ($machine in $machines) { $scriptname = „AB“ + $machine + „.BAT“ psexec \ \ $machine C:\temp\ $scriptname }