Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dump contents of groups(distribution lists) in AD

Status
Not open for further replies.

sherjac

Technical User
Aug 13, 2003
3
US
Hi All,
I was able to dump the contents of dl's in 5.5 via scripting. Is there a way in AD, possibly using filter options, to export this information.

Thanks
 
Well...there's two ways you can do this. If all you want are the user's display names, then you can use Outlook to set up a meeting request to the DL (don't send it), then on the attendee availability tab expand the DL into the list of users. Then select them all, copy, paste wherever, voilla! That's the quick and dirty method.

Alternatively (or if you need more than just display names) you can write a script again that connects to ADSI and extracts the data that you're looking for. Since I'm a scripting newbie I'm not the guy to tell you how to write it, but if you ask in one of the VBScript forums you should be able to find someone who can help you.
 
Thanks, I only need the user names for now so that will work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top