当前位置:网站首页>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
边栏推荐
- Dachang classic pointer written test questions
- FatMouse' Trade (Hangdian 1009)
- 现在网上开户安全么?想知道我现在在南宁,到哪里开户比较好?
- Klocwork 代码静态分析工具
- 寫一下跳錶
- 恶魔奶爸 B1 听力最后壁垒,一鼓作气突破
- Lex & yacc of Pisa proxy SQL parsing
- Is it safe to open a stock account at present? Can I open an account online directly.
- 智能交通焕发勃勃生机,未来会呈现哪些巨变?[通俗易懂]
- Nebula importer data import practice
猜你喜欢
Cantata9.0 | 全 新 功 能
Mongodb learn from simple to deep
CodeSonar网络研讨会
解决使用uni-app MediaError MediaError ErrorCode -5
Measure the height of the building
智能软件分析平台Embold
恶魔奶爸 B3 少量泛读,完成两万词汇量+
Ubuntu安装mysql8遇到的问题以及详细安装过程
Is embedded system really safe? [how does onespin comprehensively solve the IC integrity problem for the development team]
万字总结数据存储,三大知识点
随机推荐
object-c编程tips-timer「建议收藏」
margin 等高布局
Codeforces 474 F. Ant colony
openGl超级宝典学习笔记 (1)第一个三角形「建议收藏」
How to choose fund products? What fund is suitable to buy in July 2022?
Jetty:配置连接器[通俗易懂]
恶魔奶爸 C
Lex & yacc of Pisa proxy SQL parsing
npm uninstall和rm直接删除的区别
开户必须往账户里面赚钱吗,资金安全吗?
静态测试工具
ERROR: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
DataTable数据转换为实体
MySQL storage expression error
Is it safe to open an account of BOC shares in kainiu in 2022?
Deep learning model compression and acceleration technology (VII): mixed mode
阿里云有奖体验:如何通过ECS挂载NAS文件系统
I wrote a markdown command line gadget, hoping to improve the efficiency of sending documents by garden friends!
复杂因子计算优化案例:深度不平衡、买卖压力指标、波动率计算
恶魔奶爸 A3阶段 近常速语流初接触