Link to home
Start Free TrialLog in
Avatar of syoungblood
syoungbloodFlag for United States of America

asked on

how to export members of a distribution list in exchange 2007 exporting firstname and lastname

how do i export members of a distribution list in exchange 2007 exporting the users firstname and lastname?
The command below exports the list, but it only gives me the users alias.  Is there a way to export first and last name?

Get-DistributionGroupMember -identity "testdl" | Export-Csv -not C:\MyFile.Csv
ASKER CERTIFIED SOLUTION
Avatar of montezz
montezz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of syoungblood

ASKER

Yes, i found this command first.  This is the command w/o the -not switch.  I just thought i could get first and last name w/o all the other junk.  Thanks.
I was able to get it to import correctly to delete the columns i don't need.  Thanks for your help.