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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Wes HunterIT OperationsAuthor Commented:
This works: get-mailpublicfolder | set-mailpublicfolder -EmailAddressPolicyEnabled $false

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.