Solved

exchange

Posted on 2016-08-26
4
36 Views
Last Modified: 2016-08-26
Is there a way to dump a list of the distribution groups in Exchange 2007 and the associated owner (person who has the ability to add/remove users)?
0
Comment
Question by:pramod1
  • 2
4 Comments
 
LVL 16

Expert Comment

by:FOX
ID: 41771685
This powershell script should be able to help you out with your needs

ref link:https://gallery.technet.microsoft.com/office/Export-all-distribution-707c27eb
0
 
LVL 14

Accepted Solution

by:
Todd Nelson earned 500 total points
ID: 41771702
This command should output to a CSV file all distribution groups with who it is managed by and if the group is open or closed.  If join restriction is closed, then only the managers are able to add group members. If depart restriction is open, any one can leave the group at any time.  By default the settings for join is closed and depart is open.

Get-DistributionGroup | Select-Object Name,@{Expression={$_.ManagedBy};Label="ManagedBy";},MemberJoinRestriction,MemberDepartRestriction | Export-Csv C:\DistroOwners.csv -NoTypeInformation

Open in new window

0
 

Author Comment

by:pramod1
ID: 41771786
i just want list of the distribution groups in Exchange 2007 and the associated owner
0
 
LVL 16

Expert Comment

by:FOX
ID: 41771790
Very well use Todd's and take off MemberJoinrestriction and Memberdepartrestriction

Get-DistributionGroup | Select-Object Name,@{Expression={$_.ManagedBy};Label="ManagedBy";} | Export-Csv C:\DistroOwners.csv -NoTypeInformation
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Read this checklist to learn more about the 15 things you should never include in an email signature.
how to add IIS SMTP to handle application/Scanner relays into office 365.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now