If I do Get-DistributionGroup | FL it gives me too much detail. I only need the DL name and the "ManagedBy" parameters. Any ideas?
I need a powershell command that will give me a list of all DLs with the DL name and ManagedBy parameters only
November 17th, 2010 5:56pm
Get-DistributionGroup | Select-Object Name,ManagedBy
Free Windows Admin Tool Kit Click here and download it now
November 17th, 2010 6:02pm
Worked like a charm.
Thanks!
November 17th, 2010 6:47pm
Can anyone tell me if I can pull out extended rights and permissions like sendas and send on behalf for Distribution Lists? I'm using the following command but I need to pull those properties as well.
Get-DistributionGroup -resultsize unlimited | select displayname, primarysmtpaddress, whencreated,
whenchanged | export-csv
Free Windows Admin Tool Kit Click here and download it now
August 15th, 2014 4:43pm