Exporting members of all DLs in an OU
- by Bo Shubinsky
I'm trying to export all the members of all the DLs within an OU (either to a single file that's categorized or individual files).
I tried to use:
csvde -f "C:\Documents and Settings\root\Desktop\AD Export\DL Export\DL.txt" -r "OU=DLs,OU=Personnel,DC=csi,DC=org" -l "cn,mail"
but that only works for individual DLs and there are a lot to input each time.
Any help on getting this done in the most efficient pattern would be helpful.