Script to report on installed applications
Quite often folks want to know how to tell if something is installed. SEP's ability to export this information is seriously lacking, IMO, especially compared to SAV's ability to allow you to easily export lists or computers in SAV groups, etc.
This script, expecially when launched via a batch file, will report on ANY software you tell it to.
I routinely do audits of our domain using it - it will look on every computer in your domain, and create a text file of the findings.
You change a single line in the script to tell it what application to look for - the name of the application MUST MATCH EXACTLY as it would appear in the control panel add/remove applications list. It is also case sensitive.
Launch it from a batch file, something like this single line batch:
cscript is-it-installed-PerfectDisk.vbs>SEP-5-30-08.txt where the last part is the name of the text file you want it to feed into. The first part ensures it is launched using cscript otherwise it will fill the screen with the output! Create this single line batch file in the same folder as the script resides for ease-of-use.
Find this line in the script and change it to read whatever app you wish to look for - such as "Symantec Endpoint Protection" (*I think that's correct syntax)
sApplication = "PerfectDisk"
(the above is what is in the attached file)
You can go to a computer where the software is installed, open control panel/add remove programs, and find the application in the list, and use that exact name, spaces, caps and all.
Edit and save the script, launch the batch file, which will in-turn lauch the script and the script will search for computers in your domain, look in their programs list for the application you have specified, and write to the text file you specified in the batch file.
In our case, it takes about 60 to 90 minutes. Computers must be online at the time. (turned on, connected to network, OS loaded)
Note that I rename the script to match what I'm looking for, that way I can keep like 6 different copies of it, each already modified with the application name I am searching for. You can keep a generic single copy and just edit it each time, or keep several. Depends on your habits and housekeeping!
Please observe that I did not write this script, and the original authors email and name is within the script. I ask that you don't pass it off as your own work. Respect what he's done. Perhaps even thank him for the efforts - so that folks will keep doing what they are doing.
Rename the file to VBS extension - this server won't take scripts or EXE files.
Comments
ip range
how can i define IP range ??
thanks for the post
thanks for the post
:-)
Would you like to reply?
Login or Register to post your comment.