SOLVED

Exchange Distribution Group Security Owner

Copper Contributor

Hi All,

First let me say I'm not looking for a distribution group owner.  I've been tasked to get the Advanced Security Owner of each group.  Please see below.  Looking to do this with PowerShell so I can export to csv.

exchangeperm.png

Thanks,

John

3 Replies
best response confirmed by j_zap (Copper Contributor)
Solution

@j_zap 

 

$DLs= Get-ADGroup -Properties * -Filter * | where {$_.GroupCategory -eq 'Distribution'} | select DistinguishedName
$DLs | ForEach-Object {dsacls $_.DistinguishedName | select-string "^Owner"}
 
Or you can directly use get-distributiongroup cmdlet on EMS.

@aliat_IMANAMI Perfect this is exactly what I'm looking for.  Quick question, how do I add the Distribution Group that correlates to the owner?  I tried adding it, but have been unsuccessful.

Thanks!!

Do you want to add a distribution group that has the owner as member of that group or do you want to add a DL to the membership of another DL having the same owner as the other distribution group?
 
In either way this is a doable. The user account have the insufficient permissions to manage distribution group. However, if you have sufficient permission you can do it via exchange, by opening up the Exchange Management Console, under recipient configuration select distribution groups, right click the group you want to add other groups to and select properties, navigate to members and click add. Else you can use a exchange shell command
 
Add-DistributionGroupMember -Identity "Xyz" -Member "abc@groupid.com"

this adds "abc" to the distribution group named as "Xyz"
1 best response

Accepted Solutions
best response confirmed by j_zap (Copper Contributor)
Solution

@j_zap 

 

$DLs= Get-ADGroup -Properties * -Filter * | where {$_.GroupCategory -eq 'Distribution'} | select DistinguishedName
$DLs | ForEach-Object {dsacls $_.DistinguishedName | select-string "^Owner"}
 
Or you can directly use get-distributiongroup cmdlet on EMS.

View solution in original post