SharePoint版本控制 [英] SharePoint Version Control

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

问题描述

我们的SharePoint环境包含大量次要版本的文档,甚至没有一个主要版本。

Our SharePoint environment has lot of documents with large amount of minor versions without even a single major version.

是否有任何电源shell脚本,通过它我们可以将这些次要版本的数量限制为3并删除其余版本。

Is there any power shell script through which we can limit the count of this minor versions to 3 and delete the remaining versions.

如果需要任何其他数据,请退回。

Kindly revert in case of any additional data required.

谢谢。

推荐答案

嗨杰克逊,

你可以使用下面的PowerShell命令删除剩余版本:

You can use the PowerShell command below to delete the remaining versions:


SPweb = Get-SPWeb" http:// sp"
SPweb = Get-SPWeb "http://sp"


versionsToKeep = 2;
versionsToKeep =2;


这篇关于SharePoint版本控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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