From an array of 300 computer names ping them to see which are on.
If on set variables PCname = PCname, Ontime=now ,get username()
(Username is retreived with pstools.exe)
Then update database with the results. (if PC off dont bother update).
I can do all above sequentially which takes around 3-4 minutes. But I need this to be much faster. Under 30 seconds. So can I use multithread? Perhaps backgroundworker ? Which I know nothing about.