SharePoint 2013:尝试将模板应用于子网站并获取缺少的功能错误。如何使用PowerShell安装缺少的功能? [英] SharePoint 2013: Trying to Apply Template to subsite and getting missing features error. How do you install missing features using powershell?

查看:72
本文介绍了SharePoint 2013:尝试将模板应用于子网站并获取缺少的功能错误。如何使用PowerShell安装缺少的功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI人员

我的2013农场上有一个子网站,提供"缺少功能"应用自定义模板时出错。我有缺少的功能和guid的列表,例如

I have a subsite on my 2013 farm that gives a "missing features" error when applying a custom template. I have the list of the missing features and guids, for example

SocialSite功能

4326e7fc-f35a-4b0f-927c-36264b0a4cf0

I我正在尝试使用PowerShell安装缺失功能列表
? 我能够列出站点和服务器场的功能,但无法找到使用guid或featurename安装功能的脚本。提前致谢

I am trying to install the list of missing features using PowerShell ?  I am able to list the features for the site, and for the farm, but unable to find a script that installs the features using guid or featurename. Thanks in advance

James

推荐答案

你好詹姆斯。

T
安装-SP功能
cmdlet通过在Identity参数中提供相对路径来安装特定的SharePoint功能。特征的特定于版本的常用FEATURES文件夹。特定于版本的FEATURES文件夹是

The Install-SPFeature cmdlet installs a specific SharePoint feature by providing, in the Identity parameter, the relative path from the version-specific common FEATURES folder to the feature. The version-specific FEATURES folder is


env:ProgramFiles \Common Files \ Micropros Shared \ Web Server Extensions \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 如果网站集处于14模式且
env:ProgramFiles\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES if the site collection is in 14 mode and


env:ProgramFiles \Common Files \ Micropros Shared \ Web Server Extensions \15如果网站集处于15模式,则为\\\\\\\\\\\\\必须手动或使用解决方案安装程序将SharePoint功能的文件放在正确的目录中。

您是否知道缺少的功能是否是自定义解决方案的一部分?如果是这种情况,则必须部署该解决方案,以便在服务器场中提供该功能。
env:ProgramFiles\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\FEATURES if the site collection is in 15 mode; the SharePoint Feature's files must already be put in the proper directory, either manually or by using a solution installer.
Do you know whether the missing feature is part of a custom solution? If that's the case, you have to deploy that solution for the feature to be available in the farm.

再见。


这篇关于SharePoint 2013:尝试将模板应用于子网站并获取缺少的功能错误。如何使用PowerShell安装缺少的功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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