Created
October 13, 2017 10:58
-
-
Save VenkateshKadiri66/71c1059cb5c7bece49cd17de3f43609a to your computer and use it in GitHub Desktop.
Updates the site column and propagates the changes to lists.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update Site Column | |
======================= | |
$site = Get-SPSite -Identity "site url" | |
$web = $site.RootWeb | |
$field = $web.Fields["Field Display Name"] #Display name of the field, Internal name didn't work for me. Don'tthe reason | |
$field.Title = "New Value" #new display name | |
$field.Update($true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment