This script updates users display name after enabling Forms-based authentication (FBA) in Microsoft SharePoint Server 2010.
After enabling form-based authentication, you may want to change users display name to friendly ones. Nowadays, you may notice that some display names are showed in this form, i:0#.f|membership|username. Suppose you need to manage a large number of site collections with FBA enabled, change display names will be a time-consuming task for you.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery