How to user Exchange powershell to get a list of Groups and Users

0

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

Tags: asked February 23, 2016
Andrey
0

Your Answer

Please login to post questions.