关于2007年至2010年的sharepoint迁移的建议

时间:2012-07-12 16:39:58

标签: powershell sharepoint-2010

我必须在表单库上迁移默认和自定义元数据。 我需要迁移的是:

70 columns
15 linked lists (master data)
750 records

and from tasks lists I have to migrate the following:
- 35 columns
- 15 content types
- 2000 records

我被告知我应该编写powershell脚本,这就是他们对我的期望。现在,任何人都可以帮助我如何通过PowerShell提取此信息并导出到sharepoint 2010?我从未使用过PowerShell,但它似乎并不困难,因为它类似于c#。

任何帮助将不胜感激。

谢谢。

1 个答案:

答案 0 :(得分:1)

如果你正在寻找提取列,我会看到一些加分的stsadm扩展,我认为他有一些可以帮助你。

例如,我认为gl-exportsitecolumns和gl-exportsitecontenttypes< - 这些可能不准确,但它们会很接近

担心如果有了这些列和内容类型,您可以使用数据表来复制数据。

Powershell帮助列 http://get-spscripts.com/2011/01/export-and-importcreate-site-columns-in.html

内容类型的Powershell http://secretsofsharepoint.com/cs/blogs/tips/archive/2011/08/24/adding-content-types-using-powershell.aspx 希望这可以为你提供大部分你想要的东西:)