将SharePoint站点从中央pipe理转移到自己的集合

有人在pipe理中心网站集下创build了一个网站。 我需要把它移到自己的collections。

我尝试使用导出SPWeb和导入SPWeb,但我得到这个错误:

Import-SPWeb : Cannot import site. The exported site is based on the template S TS#0 but the destination site is based on the template STS#1. You can import si tes only into sites that are based on same template as the exported site. At line:1 char:13 + Import-SPWeb <<<< -Identity http://***** -Path *************** + CategoryInfo : InvalidData: (Microsoft.Share...CmdletImportWeb: SPCmdletImportWeb) [Import-SPWeb], SPException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletImportWe b 

我该如何解决? 或者这是甚至是这样做的最好方法?

find答案:

首先,哪个模板是STS#0?

 PS K:\> get-spwebtemplate "sts#0" Name Title LocaleId Custom ---- ----- -------- ------ STS#0 Team Site 1033 False 

有了这些信息,我就可以用正确的模板创build一个新的集合并完成导入。