Powershell 正在更新发布页面的编辑器并对其进行修改

Powershell 正在更新发布页面的编辑器并对其进行修改,powershell,sharepoint,sharepoint-2010,Powershell,Sharepoint,Sharepoint 2010,我正在尝试使用新的编辑器和修改的值更新SharePoint 2010中的发布页面,但我传递的(从另一个页面复制的)值不会保存 我试过Update(),SystemUpdate(),UpdateOverwriteVersion()-什么都不管用。有什么秘密把戏吗?:) 下面的代码片段: ... $page = $web.Lists["Pages"].GetItemByUniqueId($uid) $page["Editor"] = $e # user from another page

我正在尝试使用新的
编辑器
修改的
值更新SharePoint 2010中的发布页面,但我传递的(从另一个页面复制的)值不会保存

我试过
Update()
SystemUpdate()
UpdateOverwriteVersion()
-什么都不管用。有什么秘密把戏吗?:)

下面的代码片段:

...
$page = $web.Lists["Pages"].GetItemByUniqueId($uid)
$page["Editor"] = $e      # user from another page
$page["Modified"] = $m    # date from another page
$page.SystemUpdate($false)