richtree
asked on
How to print out members of distribution list in Exchange 2003?
Environment: Exchange 2003
contact#1: Alex Bucher - ab@a.com
contact#2: Charlie Delta - cd@b.com
distribution list: myGroup - myGroup@myCorp.com
members: Alex Bucher, Charlie Delta
Goal: print out the name and email address of members of myGroup like this:
myGroup@myCorp.com // this line can be optional because there is only one entry
Alex Bucher: ab@a.com
Charlie Delta: cd@b.com
FYI: This community already has a solution to print out members of an OU. See following link if it helps.
https://www.experts-exchange.com/questions/22966142/How-to-print-out-all-users-with-their-name-and-email-address-in-an-Organization-Unit.html
Q#1 How to print out the name and email address of members of myGroup?
Thanks.
contact#1: Alex Bucher - ab@a.com
contact#2: Charlie Delta - cd@b.com
distribution list: myGroup - myGroup@myCorp.com
members: Alex Bucher, Charlie Delta
Goal: print out the name and email address of members of myGroup like this:
myGroup@myCorp.com // this line can be optional because there is only one entry
Alex Bucher: ab@a.com
Charlie Delta: cd@b.com
FYI: This community already has a solution to print out members of an OU. See following link if it helps.
https://www.experts-exchange.com/questions/22966142/How-to-print-out-all-users-with-their-name-and-email-address-in-an-Organization-Unit.html
Q#1 How to print out the name and email address of members of myGroup?
Thanks.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Your new code works like charm. It gives me more than I expect.
Thank you so much.
Thank you so much.
ASKER
thanks.