Solved

exchange

Posted on 2016-08-26
4
38 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remaiā€¦
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlleā€¦
how to add IIS SMTP to handle application/Scanner relays into office 365.

832 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