Looking for a script that will check if a certain program is installed on a PC and report the results back.
For example, I want to use it to verify if Veeam is installed on a PC and I want to know if it isnt. I would use it as a monitoring script. We have bunch of clients that use Veeam to backup individual PC’s and we want to make sure all the PC’s in a given org have this installed.
I think the best way to create this script is to make it as generic as possible. So it would be a check application script where the user could enter the path that they need checked, and if path is available, then the user should be able to say if they want it to report back Yes installed, or No not installed. This would make it flexible for many uses.
I think its close, but dont want to install anything just want to be notified is something is installed or not installed, and use it as a monitoring script.
I think the variables would be the path to the software and whether or not I want to know if it is installed or not installed.
Application Name = “Veeam”
Path to Application = "c:program files\xxxxxx
Status = “installed/not installed”
Check Path to Application and see if it matches Status (installed/not installed)
Send Message back to Itarian with subject line Application Name and Status. Example Veeam Not Installed