# Get distribution list
#getting a list of all our distribution lists and members inside those list


Get-QADGroup -SizeLimit 0 -GroupType Distribution | Foreach-Object{
    $group = $_
    Get-QADGroupMember -Identity $group -Indirect | Select-Object Name,@{n='Group';e={$group.Name}}
} | Export-Csv c:\scripts\test.csv
