ChangePassword Url

Hello,
I want to change the default password url _Layouts/15/FBA/ChangePassword.aspx programmatically or using power shell? What would be most effective way to do it.

I know I can do it going to Site Setting-> FBA SIte Configuration page, but I want to change it automatically whenever a user creates a site collection.
The value is just a property on the site, so you should be able to create a power shell script that will create/update the property. You would have to run it every time a site collection is created though, so i'm not sure how much time you'd be saving.

You might want to look at creating an event receiver that runs when a site collection is created:

http://sharepoint.stackexchange.com/questions/50938/event-receiver-on-site-collection-creation

You might also consider just creating your own build of the FBA Pack, and hard code your new url into it.