Knowledge BaseHow to user Exchange powershell to get a list of Groups and Users
W P Staff asked 2 weeks ago

foreach ($group in Get-DistributionGroup) { get-distributiongroupmember $group | ft @{expression={$_.displayname};Label=”$group”} | Out-File c:\temp\Users.txt -append}