I have been tasked with writing a vbscript to help audit our company PC's. The script will be ran on-demand, and when ran it will query AD for all domain computers, ping each one, and if it can ping it, it will then check for the existance of a particular .exe file (in our case, an antivirus program .exe). It should put the results (found/not found) into a text or .csv file.
I'm not sure of the best way to do this. I'm also not sure how to handle instances where the program may be installed in a different location, for example d:\program files instead of c:\program files.
Any help getting me started would be appreciated. Thanks in advance.
I'm not sure of the best way to do this. I'm also not sure how to handle instances where the program may be installed in a different location, for example d:\program files instead of c:\program files.
Any help getting me started would be appreciated. Thanks in advance.