Hi,
Newbie here. I have successfully exported distribution lists to a csv file with the following attributes: Name, ManagedBy, PrimarySmtpAddress.
My issue is the ManagedBy column is showing Microsoft.Exchange.Data.Directory.ADMultiValuedProperty`1[Microsoft.Exchange.Data.Directory.ADObjectId] in the spreadsheet. theName and PrimarySmtpAddress column is showing correct info. How can I correct the ManagedBy issue i am getting?
here's my EMS script: [PS] C:\Windows\system32>Get-DistributionGroup | Select-object Name, Managedby, Primarysmtpaddress | Export-Csvpath