Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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