?
Solved

exchange

Posted on 2016-08-26
4
Medium Priority
?
48 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 16

Accepted Solution

by:
Todd Nelson earned 2000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

764 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