【发布时间】:2012-09-06 17:17:03
【问题描述】:
现在我正在创建一个页面,其中包含一个由服务器端的 powershell 更新的列表
我想显示上次运行 powershell 脚本的时间,我怎样才能得到它?
谁能帮帮我?
【问题讨论】:
-
脚本是否总是更新列表中的内容?或者它可以在不更新任何项目的情况下运行吗?
标签: sharepoint powershell sharepoint-2010 powershell-2.0
现在我正在创建一个页面,其中包含一个由服务器端的 powershell 更新的列表
我想显示上次运行 powershell 脚本的时间,我怎样才能得到它?
谁能帮帮我?
【问题讨论】:
标签: sharepoint powershell sharepoint-2010 powershell-2.0
在您的 powershell 操作中,您可以将上次操作的日期写入 SPWeb 属性包。在您的页面上,您只需要读取该值即可。
【讨论】: