[SharePoint 2010] SharePoint 2010 部署、收回和删除解决方案----STSADM和PowerShell
2023-09-14 08:59:35 时间
STSADM
stsadm -o addsolution –filename c:\bin\CustomerSiteSearch.wsp stsadm -o deploysolution –name CustomerSiteSearch.wsp -url http://[ServerName] -allowgacdeployment -force –immediate stsadm -o activatefeature –name customersitesearch_feature1 -url http://[ServerName] -force stsadm -o retractsolution -name solutionName.wsp -immediate stsadm -o deletesolution -name solutionName.wsp
PowerShell
Add-SPSolution c:\bin\CustomerSiteSearch.wsp Install-SPSolution -Identity CustomerSiteSearch.wsp -AllWebApplications -GACDeployment Enable-SPFeature CustomerSiteSearch_feature1 -url http://[ServerName]/ –force Uninstall-SPSolution -identity solutionName.wsp Remove-SPSolution -identity solutionName.wsp
关于PowerShell: STSADM命令对于SharePoint 2010仍然有用,但是官方不赞成了。PowerShell取而代之。PowerShell可以做到STSADM能做到的所有事情,而且更多,也更快。 PowerShell命令大小写不敏感。
和STSADM一样,PowerShell必须运行在SharePoint Server上。PowerShell必须使用管理员身份运行。
相关文章
- 开源PLM: ARAS Innovator 12.0 SP9 的安装部署全过程与汉化流程
- 高可用Hadoop平台-Ganglia安装部署
- 百度分享不支持https的解决方案(单独部署静态文件)
- 1 分钟在 Serverless 上部署现代化 Deno Web 应用
- 跟益达学Solr5之使用Tomcat部署Solr
- 持续部署单页应用的7大技巧
- 使用SAP Cloud Platform fullstack WebIDE创建SAP UI5应用并部署
- 部署在Netweaver上的Fiori应用的WebContent文件夹
- 【云原生之Docker实战】使用Docker部署Taskover开源个人任务管理工具
- Net Core 微服务 - 如何将.Net Core Web Api服务部署到Kubernetes (K8s)中 转载
- MySQL(二)MySQL部署、建库建表实操示例
- docker cobbler批量部署Linux/windows系统(一)——筑梦之路
- 【大数据开发运维解决方案】Solr5.1+Jcseg分词器安装部署(中英文同义词、停止词配置)