Get-DistributionGroup managed by export-csv – Powershell

Get-DistributionGroup managed by export-csv - Powershell

Get-DistributionGroup managed by export-csv – Powershell

First step would be import csv with DL names which you would like to check

$List=import-csv “C:\Users\username\Desktop\DLs.csv”

Second would to find the managedby for those DL’s

ForEach ($User in $List){Get-DistributionGroup -Identity $User.name| select name,Managedby | out-gridview}

- No Comments on this Post -

Leave a Reply

Your email address will not be published. Required fields are marked *