Created
August 23, 2017 15:55
-
-
Save bcameron1231/3bc2232b0445c14d3cdc55fc09e407f3 to your computer and use it in GitHub Desktop.
REname all 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
$site = Get-SPSite http://siteColl | |
$site | Get-SPWeb -Limit ALL | ForEach-Object { | |
foreach ($list in $_.lists) | |
{ | |
$list["Title"] = "NewTitle" | |
$list.Update() | |
} | |
} | |
$site.Dispose() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment