Forum Discussion

j_zap's avatar
j_zap
Copper Contributor
Aug 04, 2021
Solved

Exchange Distribution Group Security Owner

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...
  • aliat_IMANAMI's avatar
    Aug 06, 2021

    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.

Resources