Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

This is for Exchange 2007.

share|improve this question

3 Answers 3

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

share|improve this answer
    
I believe that is only for distribution groups using Active Directory. –  Even Mien Aug 29 '09 at 15:58

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

get-mailpublicfolder "foo" | set-mailpublicfolder -PrimarySmtpAddress "foo@example.com"
share|improve this answer
up vote 0 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.