Skip to content

Instantly share code, notes, and snippets.

@bcameron1231
Created August 23, 2017 15:55
Show Gist options
  • Save bcameron1231/3bc2232b0445c14d3cdc55fc09e407f3 to your computer and use it in GitHub Desktop.
Save bcameron1231/3bc2232b0445c14d3cdc55fc09e407f3 to your computer and use it in GitHub Desktop.
REname all lists
$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