随机更新SharePoint列表项 [英] Randomly update SharePoint List Items

查看:76
本文介绍了随机更新SharePoint列表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Techies,

Hello Techies,

我有33000项以下列的列表:

I have a list of 33000 items with below columns:


  1. 名称
  2. EmailID
  3. 状态(默认值为假)

我需要使用Powershell / any定期随机更新3000个项目其他机制。

I need to randomly update 3000 items at regular intervals using Powershell/ any other mechanism.

请让我知道上述要求的好方法。

Please let me know a good approach for the above requirement.

推荐答案

您好,

我建议您使用批量更新以获得更好的性能,这里是示例脚本,您可以根据您的条件自定义caml并扭曲循环逻辑以更新整个列表(每次3000个项目)。


URL =" http:// sp:12002 /"
URL = "http://sp:12002/"


site = New-Object Microsoft.SharePoint.SPSite(
site = New-Object Microsoft.SharePoint.SPSite(


这篇关于随机更新SharePoint列表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆