Tool to Export DL Membership

Here is a small HTA applet that I have built to export the membership of various groups in Windows Active Directory. It provides some basic filtering (owner, specific OU, name contains), plus 3 modes of export, XLS, CSV, or HTML to screen. Beware, if you have office 2007, XLS is XLSX format.

To run this in your environment, it will need to be modified:
line 27 & 28

 strHTML=strhtml&"<option value=""LDAP://dc=local,dc=corp"" >All OUs"
strHTML=strhtml&"<option value=""LDAP://ou=sub,dc=local,dc=corp"" >This SUB OU Only"

line 55 & 56

strHTML=strhtml&"<option value=""LDAP://dc=local,dc=corp"" >All OUs"
strHTML=strhtml&"<option value=""LDAP://ou=sub,dc=local,dc=corp"" >This SUB OU Only"

CSV mode gives the best detail as XLS has a 255 character limit on single fields.

Just fixed issue where it required you to pick a subOU in order to continue.

AttachmentSize
DL Export Report.zip6.3 KB

Comments

This is an awesome tool

This is an awesome tool thanks a lot for sharing!

Hi ! My Salute to you. I

Hi ! My Salute to you. I bogged my head a lot to export a DL membership many days. That group includes contacts as well as other groups. Other utilities like csvde could not bring any result to me. But your solution worked like charm to me.

Thanks a lot !!

Hello MyITForum Users. Glad

Hello MyITForum Users.

Glad to have you visit my site.

If you have a moment, I would also suggest checking out my other technical articles (here).

Come back soon, I try to update my site regularly. One of my current projects is a series of Logparser scripts to process Performance Monitor data to evaluate server performance.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <blockquote> <center> <hr> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <drupal6>, <html>, <java>, <javascript>, <php>, <posh>.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.