Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

powershell script to export distribution list and count members

Posted on 2015-02-20
2
445 Views
Last Modified: 2015-02-23
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
0
Comment
Question by:cawasaki
2 Comments
 
LVL 17

Accepted Solution

by:
Viral Rathod earned 500 total points
ID: 40620840
0
 

Author Comment

by:cawasaki
ID: 40620845
hello

i need to export only distribution list with option : "Sender inside and outside of my organisation" activated
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
This video discusses moving either the default database or any database to a new volume.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question