[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

List Distribution-Groups and the users that can change them

Posted on 2012-04-10
1
Medium Priority
?
580 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
[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
1 Comment
 
LVL 6

Accepted Solution

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

Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

Question has a verified solution.

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

How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
In this video we show how to create an email address policy 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 Mail Flow…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

656 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