sharepoint用powershell批量更新列表数据

例如:

$web=get-SPWeb "http://10.119.10.188"
$web.title
$list=$web.Lists["公司新闻"]
$list.title
$items = $list.Items
$items | ForEach-Object{
  $_["类别"]='公司新闻';$_.Update()
}

这样就能实现非视图的批量更新了

原文地址:https://www.cnblogs.com/double2012/p/2856359.html