I have to update an .aspx wiki page for a couple hundred of site collections. So I though I'd write a PowerShell script that loops through all site collections and uploads the file (overwriting the old one) to the SitePages library.
My first test resulted in the dreaded 'Revert to template' warning message across the top of the page.
This is probably due to not customizing the existing page, so the page has no association with the site definition.
Has anyone any ideas how to bulk update the .aspx page on multiple site collections?
Thanks for your help.