Management of user profile properties in SharePoint CA user interface is easy and intuitive, but when it comes to changing the display order of user profile properties, this becomes a difficult and frustrating task (and it has been like this since 2007). Powershell scripting proves again very handy.
You can find several other blog posts on this topic, but all I have found use the obsolete SharePoint API (2007) to do this.
First of all we need a PS script to list the current order of user profile properties.
Next step would be to set up a configuration xml file, that lets us define what properties we want to change. The following config sample will change the display order of two user profile properties.
The final step, the PS script that makes the changes. The function for update requires two input parameters: a config file path, and the my site url.
View original post 116 more words