Change user display name using PowerShell
I have recently extended a web application to enable Form Based Authentication. After a few days I noticed that user display names are showing in the following format:
I would prefer to see “Firstname Surname” format. To fix this I can user the Set-SPUser PowerShell command to change the display name. Here is an example of how this works:
Set-SPUser “i:firstname.lastname@example.org” -Web http://intranet -DisplayName “Dave Webb”
Now the display name is shown correctly.