0

How can I add and remove members to a distribution list in a public folder through PowerShell?

This is for Exchange 2007.

Even Mien
  • 657
  • 2
  • 12
  • 19

3 Answers3

0

After researching this, it looks like the answer is that it is not possible though Powershell.

Even Mien
  • 657
  • 2
  • 12
  • 19
0
Add-DistributionGroupMember -Identity "Marketing Managers" -Member adam@contoso.com

From here: http://technet.microsoft.com/en-us/library/aa995970.aspx

Pretty much the same for Removing:

but use Remove-DistributionGroupMember instead

fenster
  • 454
  • 4
  • 13
0

If you mean a mail-enabled public folder, you can use:

get-mailpublicfolder "foo" | set-mailpublicfolder -PrimarySmtpAddress "foo@example.com"
slipsec
  • 190
  • 2
  • 9