Solved

List Distribution-Groups and the users that can change them

Posted on 2012-04-10
1
533 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
To show how to generate a certificate request 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 Servers >> Certificates…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 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