Get-DistributionGroup managed by export-csv – Powershell

Clear2all Professional Blog new

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}

1 thought on “Get-DistributionGroup managed by export-csv – Powershell”

Leave a Reply

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