Avatar of Rabih El Haj youssef
Rabih El Haj youssef
Flag for Australia asked on

Email distribution list

Hi ALl ,
I am going to start clean few distribution list that has not been use for long time.

My question is please, how do I know when the last time distribution is used and who is manage it at the moment.

My second question,  is any way I can script  all the users email in DL ,
At the present, I used this script
“dsquery group -name "DL name" | dsget group -members -expand >"DL Name.txt" “
And export all the name and last name , but I need email instead Please


Thanks
Rabih
Microsoft Legacy OSMicrosoft Server OS

Avatar of undefined
Last Comment
achaldave

8/22/2022 - Mon
achaldave

csvde -f Path\to\output\file.txt -r "memberOf=cn=DGName,ou=dgou,dc=your_domain,dc=com" -l "cn,mail"

You can check tracking logs to find out if anybody sent email to that group, "managed by" property of the group should show the user name who can manage the group.

check this link also

http://social.technet.microsoft.com/Forums/exchange/en-US/63ad55d1-1393-4533-8065-1d7cbd8657fa/powershell-command-to-list-all-distribution-groups-and-members-of-those-groups?forum=exchangesvradminlegacy
Rabih El Haj youssef

ASKER
HI

Could you please step by step me on how to check tracking logs to find out if anybody send email to this DL
This is the first time using this command CSVDE , can I do few example of if there is any more information on how to user this command

Thanks
Rabih
ASKER CERTIFIED SOLUTION
achaldave

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck