Powershell to Update any SharePoint document library or list column

$spWeb = Get-SPWeb -Identity http://webapp/sitecol/abc/1234

$spList = $spWeb.Lists[“My list name”]

$spListItem = $spList.GetItemById(1)

$spListItem [“ColumnName”] = “ValuetoUpdateto”

$spListItem.Update()

Advertisements