exchange

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)?
pramod1Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Todd NelsonConnect With a Mentor Systems EngineerCommented:
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
 
FOXActive Directory/Exchange EngineerCommented:
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
 
pramod1Author Commented:
i just want list of the distribution groups in Exchange 2007 and the associated owner
0
 
FOXActive Directory/Exchange EngineerCommented:
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
All Courses

From novice to tech pro — start learning today.