All Forums >> [Scripting] >> Post a VBScript >> Mass user account audit > database Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
1. Script does a check to see it is not being run from a place where it will fail. 2. Checks if an output database exists and if not creates one 3. Enumerates all users in AD 4. If user name is our standard 3 character format continue 5. Read specific properties from that user account 6. Save output to an Access Database
Powerful thing about this script is that the massive amount of data it can output is in a format which can be queried and sorted and user accounts of interest can be saved as a txt file to be processed by another script. I should have done it in the main script to filter out accounts in the trash/resource OUs but Access can easily do that in using a query in the database. Once the database queries have been setup you can run the script (takes about 5 minutes for ~1500 users) and at a glance check for obvious configuration problems.