Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

Powershell to add an SMTP address to all mail enabled PFs

$
0
0

Hi,

I have a need to add a new SMTP address to every mail enabled public folder in our org.

Need to use powershell as we are dealing with several thousand PFs (yup!) - most of which in the past have had the "update email address based on recipient policy" setting disabled.

Due to the numbers in question, I am going to need to read in the PF folder's alias and then create the email address from that i.e. alias could be "folder1" and the new email domain is @contoso.com - thus creating the email address "folder1@contoso.com" and importantly ADD this new address (leaving all original addresses present intact on the folder).

Anyone able to assist in providing a powershell command to achieve this?

Thanks


Viewing all articles
Browse latest Browse all 4521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>