Solved

exchange

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
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…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

690 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