当前位置:网站首页>Deployment, recall and deletion solutions - stsadm and PowerShell "suggestions collection"
Deployment, recall and deletion solutions - stsadm and PowerShell "suggestions collection"
2022-07-07 21:04:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm the king of the whole stack .
Deploy 、 Recall and delete solutions —-STSADM and PowerShell
Because in the near future, it is always necessary to deploy wsp Solution , So we often use the command line or PowerShell. So it is necessary to concentrate the commands here . High speed reference can be made during deployment .
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 -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
About PowerShell:
- STSADM The order is for SharePoint 2010 Still practical , But the official disapproved .PowerShell Instead, .
- PowerShell Able to STSADM Everything you can do , And many others , And faster .
- PowerShell Command uppercase and lowercase insensitive .
- and STSADM equally .PowerShell Must be implemented in SharePoint Server On .
- PowerShell Must be executed as administrator .
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/116445.html Link to the original text :https://javaforall.cn
边栏推荐
- Écrivez une liste de sauts
- 万字总结数据存储,三大知识点
- 浅解ARC中的 __bridge、__bridge_retained和__bridge_transfer
- FTP steps for downloading files from Huawei CE switches
- 部署、收回和删除解决方式—-STSADM和PowerShell「建议收藏」
- [paper reading] maps: Multi-Agent Reinforcement Learning Based Portfolio Management System
- [function recursion] do you know all five classic examples of simple recursion?
- 恶魔奶爸 指南帖——简易版
- UVA 11080 – Place the Guards(二分图判定)
- 静态测试工具
猜你喜欢
使用枚举实现英文转盲文
Optimization cases of complex factor calculation: deep imbalance, buying and selling pressure index, volatility calculation
上海交大最新《标签高效深度分割》研究进展综述,全面阐述无监督、粗监督、不完全监督和噪声监督的深度分割方法
MySQL约束之默认约束default与零填充约束zerofill
Small guide for rapid formation of manipulator (12): inverse kinematics analysis
解决使用uni-app MediaError MediaError ErrorCode -5
目标:不排斥 yaml 语法。争取快速上手
【C语言】指针进阶---指针你真的学懂了吗?
Nebula Importer 数据导入实践
Klocwork 代码静态分析工具
随机推荐
easyui 日期控件清空值
UVA 11080 – Place the Guards(二分图判定)
Introduction to referer and referer policy
How to choose fund products? What fund is suitable to buy in July 2022?
Codeforces 474 F. Ant colony
Solve the problem that the executable file of /bin/sh container is not found
Airiot helps the urban pipe gallery project, and smart IOT guards the lifeline of the city
万字总结数据存储,三大知识点
How to meet the dual needs of security and confidentiality of medical devices?
软件缺陷静态分析 CodeSonar 5.2 新版发布
权限不足
Dachang classic pointer written test questions
[concept of network principle]
写了个 Markdown 命令行小工具,希望能提高园友们发文的效率!
上海交大最新《标签高效深度分割》研究进展综述,全面阐述无监督、粗监督、不完全监督和噪声监督的深度分割方法
awk处理JSON处理
Data sorting in string
ISO 26262 - 基于需求测试以外的考虑因素
恶魔奶爸 C
Codeforces 474 F. Ant colony