+ Post New Thread
Results 1 to 3 of 3
Enterprise Software Thread, exchange 2010 distribution list report in Technical; Hi All, I currently have exchange 2010 and am planning some house keeping on the server, is there away where ...
  1. #1

    Join Date
    Jun 2010
    Posts
    46
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    exchange 2010 distribution list report

    Hi All,

    I currently have exchange 2010 and am planning some house keeping on the server, is there away where i can create a report of all distribution list on my exchange 2010 server and and export to csv or txt file so i will end up with a complete list of DL and it's members

    Thanks in Advance

  2. #2

    Join Date
    Jun 2010
    Posts
    46
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Any ideas people

  3. #3
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    816
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40
    Powershell is usually the best way:

    Code:
    $file = "C:\output.csv"
    $groups = Get-DistributionGroup
    
    echo "Distribution Group,Display Name,Alias,E-Mail address" | out-file -Encoding ascii $file
    
    foreach ($group in $groups) {
    	$groupmembers = Get-DistributionGroupMember $group
    	foreach ($groupmember in $groupmembers) {
    		$displayname = $groupmember.displayname
    		$alias = $groupmember.alias
    		$email = $groupmember.primarysmtpaddress
    		echo "$group,$displayname,$alias,$email" | out-file -Encoding ascii -Append $file
    	}
    }

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 2
    Last Post: 7th December 2012, 09:49 AM
  2. Replies: 11
    Last Post: 12th November 2012, 01:57 PM
  3. Outlook 2010 distribution lists
    By Little-Miss in forum How do you do....it?
    Replies: 0
    Last Post: 3rd October 2012, 08:31 AM
  4. Exchange 2010 & Address Lists
    By sven in forum Enterprise Software
    Replies: 2
    Last Post: 3rd October 2011, 03:07 PM
  5. Replies: 17
    Last Post: 24th February 2011, 09:55 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •