使用PowerShell脚本,如何将源网站集中的术语库复制到SAME场中的目标网站集? [英] Using PowerShell Script, how do I copy the Term Store from source Site Collection to the target Site Collection in the SAME farm?
问题描述
我使用Backup-SPSite备份网站集&然后使用Restore-SPSite在SAME场中的新Web应用程序中还原网站集(SharePoint 2016内部部署)。
但是,来自源的术语库不使用Restore-SPSite将网站集复制到目标网站集。错误:"加载导航时出错:托管导航术语集未正确附加到网站"显示在目标网站集的Term Store
管理工具中。
如何使用PowerShell脚本,如何将Term Store从源Site Collection复制到SAME服务器场中的目标网站集?
请尽快提供此问题的解决方案。
谢谢提前
Hi,
I am using Backup-SPSite to backup a site collection & then using Restore-SPSite to restore the site collection in a new web application in the SAME farm (SharePoint 2016 On-Premises).
However, the Term Store from source Site Collection is not copied using Restore-SPSite to the target Site Collection. Error: "Error loading navigation: The Managed Navigation term set is improperly attached to the site" is displayed in Term Store
Management Tool for the target Site Collection.
Using PowerShell Script, how do I copy the Term Store from source Site Collection to the target Site Collection in the SAME farm?
Please provide solution to this issue ASAP.
Thanks in advance
推荐答案
-
获取默认网站集合期限通过PowerShell存储:
site = Get-SPSite<网站集URL>
site = Get-SPSite <site collection URL>
tx = New-Object Microsoft.SharePoint.Taxonomy.TaxonomySession(
tx = New-Object Microsoft.SharePoint.Taxonomy.TaxonomySession(
这篇关于使用PowerShell脚本,如何将源网站集中的术语库复制到SAME场中的目标网站集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!