Hi,
I have written a script that connects to each PC on our network one by one, retrives the list of Add/Remove programs and for each item in the list does the following:
1. Check if application name is in the database - if not then add it (applicationID, applicationame) and make a note of the applicationID. If it is in the database then retrieve the application ID.
2. Write the applicationID value and the PC identifier to another table.
This works quite well however rather than run the script on remote PCs one by one I would like the script to be run locally on each PC all at the same time (we have 150 PCs on our network).
If I do this is there a way I can be sure that two computers won't connect to the database and look up the same application at the same time and potentially create duplicate records - i.e. identical application name but with two applicationID's?
Thanks very much
Ed
I have written a script that connects to each PC on our network one by one, retrives the list of Add/Remove programs and for each item in the list does the following:
1. Check if application name is in the database - if not then add it (applicationID, applicationame) and make a note of the applicationID. If it is in the database then retrieve the application ID.
2. Write the applicationID value and the PC identifier to another table.
This works quite well however rather than run the script on remote PCs one by one I would like the script to be run locally on each PC all at the same time (we have 150 PCs on our network).
If I do this is there a way I can be sure that two computers won't connect to the database and look up the same application at the same time and potentially create duplicate records - i.e. identical application name but with two applicationID's?
Thanks very much
Ed