Powershell to list Distribution Lists and users contained within

I have recently been working on a project that required me to provide an extensive list of distribution groups and all users within that list. Obviously something that i did not want to do manually as it would have taken a massive amount of time. So I created some powershell to do it for me

The script is as follows

 

 


Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.