powershell script to export distribution list and count members

Posted on 2015-02-20
Medium Priority
Last Modified: 2015-02-23

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:


Question by:cawasaki
LVL 17

Accepted Solution

Viral Rathod earned 2000 total points
ID: 40620840

Author Comment

ID: 40620845

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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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.

Join & Write a Comment

After a recent Outlook migration from a 2007 to 2010 environment, some issues with Distribution List owners were realized. In this article, I explain how that was rectified.
There’s hardly a doubt that Business Communication is indispensable for both enterprises and small businesses, and if there is an email system outage owing to Exchange server failure, it definitely results in loss of productivity.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …

600 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