且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Powershell脚本部署的WSP

更新时间:2023-02-07 16:59:23

导航到SharePoint应用程序服务器之一上的FEATURES文件夹:

Navigate to the FEATURES folder on one of the SharePoint Application servers:

  • C:\ Program Files \ Common Files \ microsoft共享\ Web服务器扩展\ 15 \ TEMPLATE \ FEATURES \

查找您要启用的功能的文件夹.在记事本中打开该文件

Look for the folder of the feature you are trying to enable.  Open this file in NotePad

  • Features.XML

验证此文件中显示的功能名称是否与Enable-SPFeature命令let中使用的名称相同.

Verify that the name of the feature as shown in this file is the same as the name being used in the Enable-SPFeature commandlet.

此外,在进行故障排除时,我建议您自己执行每个Commandlet,而不要依赖此脚本.这样可以更轻松地发现问题.

Also, I suggest executing each commandlet yourself rather than relying on this script, while you do your troubleshooting.  This makes it easier to spot problems.