VB Script to output AD details to CSV/Notepad
Posted on 2010-09-20
I am after a single vbs script that can perform an export of Data from Active Directory for the entire domain, to either a CSV or txt file, I don't really mind which format as long as it is readable (seperate columns or tab seperated txt etc).
I am after the following:
Status (active/disabled/expired etc)
Last Logon Date
List of Groups the user is a member of
I have researched on MS's technet script repository and numerous other sites, but none can give me what I am after or within 1 script/file.
We have numerous clients that have requested this type of information so it would be extremely helpful if you can provide any assistance.