Exchange 2010 export all users in DistList including nested Distribution Lists

Should be a pretty quick one here.

I need to export the contents of a DL named "broadcast" on an Exchange 2010 server.

The catch is inside of this DL are more DLs and inside of those even more DLs and so on and so on.

I found this but when I choose the options for the dynamic lists, it crashes out with :

Cannot validate argument on parameter 'RecipientPreviewFilter'. The argument is null or empty. Supply an argument that
is not null or empty and then try the command again.
    + CategoryInfo          : InvalidData: (:) [Get-Recipient], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Get-Recipient
    + PSComputerName        :

/ : Attempted to divide by zero.
At C:\Users\nucentric_domain\Desktop\DistributionGroupMemberReport.ps1:418 char:114
+ Write-Progress -activity "Scanning Groups . . ." -status "Scanned: $i of $($allDg.Count)" -percentComplete (($i / <<<
<  $allDg.Count)  * 100)
    + CategoryInfo          : NotSpecified: (:) [], RuntimeException
    + FullyQualifiedErrorId : RuntimeException

LVL 34
Scott CSenior EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This might help to get the members of the Dynamic Groups. Also official guidance.
Scott CSenior EngineerAuthor Commented:
Looking at the definition of a Dynamic Distribution Group, I don't think that's what I have.  It's just a regular distribution group.  It's just nesting other distribution groups.

Also, please don't post blank links.
Scott CSenior EngineerAuthor Commented:
Yeah, that didn't work.

After some digging I found the PS command:  Ran the PS command :  Get-ADGroupMember broadcast -Recursive

This returned the names I needed.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Scott CSenior EngineerAuthor Commented:
Found solution after researching.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.