You could try this script..... Not sure if it gives you what you want, but it might be a starting point: Save the code to a .VBS text file and double-click it.
[START CODE] set fso = wscript.createobject("Scripting.FileSystemObject") set folder=fso.getFolder("C:\Temp") Set OStream = fso.CreateTextFile("C:\temp\ExchangeDLs.txt") OStream.writeLine "Distribution Lists in Exchange" OStream.writeLine "------------------------------" OStream.writeLine "" ' mySpaces = "" SUB LookAtDL (thisDL) mySpaces = mySpaces & " " if thisDL.DisplayType = 1 then OSTream.WriteLine mySpaces & thisDL.name DL = DL + 1 for each myMember in thisDL.Members LookAtDL MyMember Next elseif thisDL.DisplayType = 6 then CR = CR + 1 elseif thisDL.DisplayType = 0 then OSTream.WriteLine mySpaces & thisDL.name & " : " MB = MB + 1 else MsgBox "non-known " & thisDL.DisplayType & " :: " & thisDL.name Other = Other + 1 end if mySpaces = Left(mySpaces,len(mySpaces)-5) END SUB set out=WScript.CreateObject("Outlook.Application") set mapi=out.GetNameSpace("MAPI") Set GAL = mapi.AddressLists("Global Address List") Other = 0 DL = 0 CR = 0 MB = 0 for each addr in GAL.AddressEntries LookAtDL addr next OSTream.WriteLine "Ended:- DLs " & DL & ". Custom Recipients " & CR & ". Mboxes " & MB & ". Other " & Other 'Now close the output file Set GAL = Nothing Set MAPI = Nothing set fso = nothing set Folder = nothing set oStream = Nothing set Out=nothing [END CODE] -----Original Message----- From: Hatley, Ken [mailto:[EMAIL PROTECTED]] Sent: 25 November 2002 21:14 To: Exchange Discussions Subject: RE: DL Export question Thanks, yeah I changed the logging to high and that seems to get rid of at least some of the issues, I got the email address to export by doing that and now I am trying to get members. I sure wish there was a better way to view the members though...has anyone written a script or anything to better format the DNs for members of a DL export? Excel's 65000 limitation is going to hinder the results. -----Original Message----- From: Johansson Patrick [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 3:09 PM To: Exchange Discussions Subject: RE: DL Export question First of all when you do the export set the logging level to high. Also make sure that the you are logged in as for example the exchange service account so you are sure you can read all the data. The events are recorded in the application log on the computer that you are running exchange administrator on. Hopefully this helps a little. -Patrick -----Original Message----- From: Hatley, Ken [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 9:06 PM To: Exchange Discussions Subject: RE: DL Export question Actually its not just the SMTP field that makes it stop on that DL, it worked when I did Directory and alias name only, but when I try to add other fields it fails...always on that one DL. I don't see anything different about this one than others. Where is the log file? I looked at the eventvwr on the server but there was nothing there. -----Original Message----- From: Hatley, Ken Sent: Monday, November 25, 2002 12:56 PM To: Exchange Discussions Subject: DL Export question I am trying to export using a csv file to gather DL information...it works fine until I add the SMTP field, it actually works until it goes through about 100 DLs but always stops on one particular DL. Any idea of what can make it stop, or how to identify what the problem is? _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED] _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED] _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED] _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED] _________________________________________________________________ List posting FAQ: http://www.swinc.com/resource/exch_faq.htm Archives: http://www.swynk.com/sitesearch/search.asp To unsubscribe: mailto:[EMAIL PROTECTED] Exchange List admin: [EMAIL PROTECTED]