Awesome, I will give this a shot.
Thanks MBS!
-Greg

-----Original Message-----
From: Michael B. Smith [mailto:[email protected]] 
Sent: Wednesday, August 18, 2010 12:01 PM
To: NT System Admin Issues
Subject: RE: Generating report for Exchange Distribution groups?

Ehhhh. You might also need a couple of resultsize parameters there, depending 
on the size of your organization. (I just ran it at a larger customer of mine 
and ran into this.)

get-distributiongroup -resultsize unlimited |% {
        $group = $_;
        "Name: $($group.Name), ManagedBy: $($group.ManagedBy), Identity: 
$($group.Identity)"
        $members = Get-DistributiongroupMember -identity $group.Identity 
-resultsize unlimited; 
        foreach ($member in $members) {
                "`t$($member.Name)"
        }
}

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com


-----Original Message-----
From: Michael B. Smith [mailto:[email protected]]
Sent: Wednesday, August 18, 2010 2:55 PM
To: NT System Admin Issues
Subject: RE: Generating report for Exchange Distribution groups?

[PS] C:\>get-distributiongroup |% {
>> $group = $_;
>> "Name: $($group.Name), ManagedBy: $($group.ManagedBy), Identity: 
>> $($group.Identity)"
>> $members = Get-DistributiongroupMember -identity $group.Identity; 
>> foreach ($member in $members) {
>>     "`t$($member.Name)"
>> }
>> }
>>
Name: j-and-m, ManagedBy: smithcons.local/Users/Administrator, Identity: 
smithcons.local/Users/j-and-m
        Michael B. Smith
        Jacqui
...
Etc.
...

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com


-----Original Message-----
From: Greg Olson [mailto:[email protected]]
Sent: Wednesday, August 18, 2010 2:48 PM
To: NT System Admin Issues
Subject: Generating report for Exchange Distribution groups?

All,
Is there any way to generate a report that lists out all of our Distribution 
groups, along with the members and owners of the lists? I see how to generate a 
listing of the groups, but not a way to have it put the members of each group 
and the owners as well. 
I'm sure there is probably a PowerShell way of doing this, but my ps skills are 
weak and Google Fu is failing today. This is on Exchange 2007  and Outlook 2010.
Thanks in advance for any help!
-Greg 
 

~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~


~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~


~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ 
<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to