We occasionally come across an Exchange 2003 setup from which we need to export members of a DL or what not. CSVDE will do this. To get everything from AD:
CSVDE -f c:\adusers.csv
More detailed information with examples and switches can be found here:
https://www.computerperformance.co.uk/Logon/Logon_CSVDE_Export.htm