Have any dynamic DLs? ________________________________ From: KevinM [mailto:kev...@wlkmmas.org] Sent: Friday, April 02, 2010 11:10 AM To: MS-Exchange Admin Issues Subject: All users in all DL's in an OU
I've been asked to provide a customer with a list of all of the users in all of their DL's. I figured this would be a simple one-liner. Get all of the DL's in an OU, and spit out the members. I was wrong.... Has anyone out there, who would be willing to share, written this script all ready? My Guess at a one-liner ====================== Get-DistributionGroup -OrganizationalUnit"rebob/bob" | Get-DistributionGroupMember | out-file dl.txt The output - missing the DL - a list of users is not helpful to me ============================================== Name RecipientType ---- ------------- f919e368-1878-4aa0-adf8-a83635cc3031 MailContact ee2ea8f6-5306-4d75-866d-33431d915d27 MailContact