Solved

List Distribution-Groups and the users that can change them

Posted on 2012-04-10
1
508 Views
Last Modified: 2012-04-16
Hi,

as the title already says, I need to list every distribution-group in our Exchange 2007 environment and the users that are able to change these groups (i.e. add or remove members).

I was able to Google a script that would do this, but it only lists users that have the "WriteMember" and "ReadMember" property and nothing else:
Get-DistributionGroup | Get-ADPermission | ? {$_.Properties -like "member"} | Select Identity,User

Open in new window


However, it does not list users that have either full access or at least write access (via the ADUC console) on a distribution group which I found strange because full/write access includes the "WriteMember" property.
0
Comment
Question by:tfildebrand
1 Comment
 
LVL 6

Accepted Solution

by:
slidingfox earned 500 total points
ID: 37832928
Give this one a try. Hopefully it'll do what your after.

Get-DistributionGroup |
Get-ADPermission |
Where { ($_.AccessRights -match 'Write') -or ($_.AccessRights -eq 'GenericAll') }

Open in new window

0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

743 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

12 Experts available now in Live!

Get 1:1 Help Now