powershell script to export distribution list and count members

hi,

i have exchange 2013 server and i need a script to :

-export distribution list with option : "Sender inside and outside of my organisation" activated
-count the member of each distribution list (many list can have other list as member, so i need th e script count the members recursively)

if possible get the csv file like this:

displayname,email,memeber_count
group1,30
group2,2
....

thanks
cawasakiAsked:
Who is Participating?
 
Viral RathodConnect With a Mentor ConsultantCommented:
0
 
cawasakiAuthor Commented:
hello

i need to export only distribution list with option : "Sender inside and outside of my organisation" activated
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.