Introduction
This is a simple script to audit the installed software in a domain. It lists the computer name, user, and all installed software. Use is simple, requiring only a modification to the LDAP query string. Output is commonly redirected to a file.
I wrote this script because I was tired of not being able to effectively audit who is running what software in my domain. While there are other methods of performing the functions provided here, I didn't find anything that would do it all at one time.
I collected most of this script from the various posts in the Usenet. Thanks to everyone who posted their code to begin with.
---------------------------
I have made the requested revision to dump output to a file.The default path for the saved audit is C:\TimSoftwareAudit.txt, but can be edited by changing the path in the included VBS code.
Please note that the oContainer item with the LDAP query does not need to point to the root of the domain. I use this script frequently on specific OUs. The easiest way to do determine the LDAP syntax is to use an LDAP browser, such as adsiedit from Microsoft. Simply copy and paste in the distinguishedName attribute.
If you have any questions, please feel free to contact me.