How do I bulk disable "Auto update email address based on email address policy" for all mail public folders?

Hi everyone, we have Exchange-2010 (SP3 RU16) and we're migrating to Office 365 including our public folders, I've searched everywhere for a powershell script which will bulk disable public folder "Auto update email address based on email address policy". Ben Personic graciously provided a script that would remove all of our unwanted (un-owned domains) lingering in our mail public folders, however, we first need to disable the setting "Auto update email address based on email address policy" for the script to work.  I haven't found anything out there that will do such a thing.  There is a script for disabling Mailbox "Auto update email policy", but nothing for MailPublicFolder.  We have 748 mail public folders so manually opening each one via gui is going to be painful.  Migrations are nothing new, I'm surprised I'm not finding anything out there.  Any help would be great! Thank you!

Public Folder Email Policy
Wes HunterIT OperationsAsked:
Who is Participating?
 
Wes HunterIT OperationsAuthor Commented:
This works: get-mailpublicfolder | set-mailpublicfolder -EmailAddressPolicyEnabled $false
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.