I'm needing a script (either .hta or .vbs) that can connect to Active Directory and perform a complete Group Security Mapping of all the groups in AD. The .HTA application or .VBS script would need to provide the following type of output:
1.) Identify all Active Groups (Universal, Global and Security) within Active Directory.
2.) Once the Groups have been identified then the script would list all members associated with that Group.
3.) It would then need to provide the "Managed by" attribute person for each group.
4.) It would also need to provide that "Managed by" person's email address.
5.) Finally, it would need to then have the ability to export to .CSV, or .XLS format so it all could be neatly placed in a spreadsheet with column read out as such:
Group Name Type of Group Member List Managed By Email
******************************************************
6.) This would need to be a "One click" process for the entire mapping.
I have a script now that just does this, but only one group at a time which is good, but in a large environment it takes to long.