Finally, we commit the change using Set-MailPublicFolder. Next, we add the additional email address, without wiping out the existing ones.
The first line gets mail-related properties of Public Folder “Sales” in a variable called $PF. To add additional email address to a (mail-enabled) Public Folder:
To modify mail-related attributes of Public Folders, you use the Set-MailPublicFolder command. Objects other than Public Folders need to be mailbox or mail-enabled to be Exchange recipients, Public Folders do not ( Yes, they are mail-enabled by default). It should be pretty simple – If Get-Mailbox shows the emailaddresses property for a mailbox, and Set-Mailbox allows you to use the -EmailAddresses switch to add email addresses, one can’t be blamed for believing it’ll work the same way for Public Folders. How do we add email addresses to Public Folders?