Script Download: 22223.ziphttp://gallery.technet.microsoft.com/Configuring-FBA-SQL-or-935f5c0c
Normally configuring FBA in SharePoint involves manual entry of various kinds in web.config files of CA, STS and target web application on all the servers in the farm, resulting in higher probability of human induced errors and subsequently increased time and effort.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery