Rem Remember to remove line breaks from first two lines
@SET TEMPLATEDIR="%programfiles%/common files/microsoft shared/web server extensions/12/Template"
@SET STSADM="%programfiles%/common files/microsoft shared/web server extensions/12/bin/stsadm.exe"
iisreset /stop
Echo deactivatefeature PublishNews feature
%STSADM% -o deactivatefeature -filename PublishNews/feature.xml -force
Echo uninstallfeature PublishNews feature
%STSADM% -o uninstallfeature -filename PublishNews/feature.xml -force
Echo deactivatefeature ApproveNews feature
%STSADM% -o deactivatefeature -filename ApproveNews/feature.xml -force
Echo uninstallfeature ApproveNews feature
%STSADM% -o uninstallfeature -filename ApproveNews/feature.xml -force
Echo Restart IIS Worker Process
iisreset /start
pause
卸载feature
最新推荐文章于 2023-06-20 22:47:52 发布
本文介绍如何使用stsadm命令行工具禁用及完全卸载SharePoint中的PublishNews和ApproveNews特性。首先设置模板目录和stsadm路径,然后停止IIS服务。接着通过stsadm命令分别禁用并卸载PublishNews和ApproveNews特性。完成操作后重启IIS服务。
4945

被折叠的 条评论
为什么被折叠?



