On the last couple of projects, the customer wants to change the display order of the user profile properties and there is the PowerShell to do it.
To see the current user profile display order call the script like this
& '.\change userprofile display ordre.ps1' http://spsite
To change the order call the script like this
& '.\change userprofile display ordre.ps1' http://spsite nameoftheuserprofileproperty sortorder
e.g. & '.\change userprofile display ordre.ps1' http://spsite firstname 5000
No comments:
Post a Comment