Hi

I need someone to help me to write a script please.

We have around 60 PCs that run a certain process lets say its called "CONNECT.EXE", the problem is that we seem to now have 2 processes call "CONNECT.EXE" on each machine. This connect program writes records to a SQL database and as such we are getting duplicate records.

I need a script that will read a text file containing machines names, get a PSLIST and then kill the oldest process called CONNECT.EXE

How easy is this? This is causing me serious headaches

Thanks everyone