I'm trying to update custom forms of SharePoint lists in a large amount of SharePoint 2010 subsites with powershell.
I'm not quite sure what the correct approach is. The form itself can be found as template.xsn in the Item Folder of the corresponding SharePoint list. Does the publish process of InfoPath more than change this file? I tested only copying the file and no errors happend. But this doesn't mean that no database inconsistencies occured. I'm not to keen on any misfortunes, that might happen later.
Now, my approach would simply be to copy the current custom form as file (Item\template.xsn) in the list of each subsite.
So now my question is; What is the best approach to update subsites with an old custom form with powershell? Can I use the approach described above?