Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1138
  • Last Modified:

Export Exchange Distribution List to Excell or TXT file

Hello

I have a urgent question, is there a way to export Exchange Distribution list to Excel or TXT file? My Dlist is huge it has 3000 contacts and 30 other Dlists in it, I need to clean up duplicates and old employess

I will apreciate prompt reply

Thank you

Peter
0
piotrmikula108
Asked:
piotrmikula108
  • 2
3 Solutions
 
sirbountyCommented:
Maybe try BlueDevilFan's solution here:
http://www.experts-exchange.com/Q_21995531.html#17556946
0
 
Jay_Jay70Commented:
dsget group "CN=Groupname,OU=OU Name,OU=OU Name,DC=Domain,DC=local" -members > c:\members.txt

example, all users in a dissy group in my test domain
dsget group "cn=@bands,OU=James,OU=test,DC=Domain,DC=Local" -members



0
 
Jay_Jay70Commented:
or sirbounty's option :)
0
 
ryangormanCommented:
You can amend Jame's dsget to satisfy your "...and 30 other Dlists in it..." request (I don't think sirbounty's script recursed into nested DLs.).

dsget group "cn=@bands,OU=James,OU=test,DC=Domain,DC=Local" -members -EXPAND

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now