当前位置:网站首页>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.wspPowerShell
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.wspAbout 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
边栏推荐
- C language helps you understand pointers from multiple perspectives (1. Character pointers 2. Array pointers and pointer arrays, array parameter passing and pointer parameter passing 3. Function point
- Hoj 2245 planktonic triangle cell (Mathematics)
- HDU4876ZCC loves cards(多校题)
- easyui 日期控件清空值
- Make this crmeb single merchant wechat mall system popular, so easy to use!
- How to meet the dual needs of security and confidentiality of medical devices?
- 反诈困境,国有大行如何破局?
- HOJ 2245 浮游三角胞(数学啊 )
- 想杀死某个端口进程,但在服务列表中却找不到,可以之间通过命令行找到这个进程并杀死该进程,减少重启电脑和找到问题根源。
- Measure the height of the building
猜你喜欢

Implement secondary index with Gaussian redis

Ubuntu安装mysql8遇到的问题以及详细安装过程

C语言 整型 和 浮点型 数据在内存中存储详解(内含原码反码补码,大小端存储等详解)

Make this crmeb single merchant wechat mall system popular, so easy to use!

AADL Inspector 故障树安全分析模块
MySQL约束之默认约束default与零填充约束zerofill

Airiot helps the urban pipe gallery project, and smart IOT guards the lifeline of the city

Static analysis of software defects codesonar 5.2 release

Measure the height of the building

CodeSonar如何帮助无人机查找软件缺陷?
随机推荐
微服务远程Debug,Nocalhost + Rainbond微服务开发第二弹
Codeforces Round #275 (Div. 2) C – Diverse Permutation (构造)[通俗易懂]
[matrix multiplication] [noi 2012] [cogs963] random number generator
Nebula importer data import practice
Spark judges that DF is empty
Lingyun going to sea | saihe & Huawei cloud: jointly help the sustainable development of cross-border e-commerce industry
MySQL storage expression error
Apifox interface integrated management new artifact
Écrivez une liste de sauts
Write a jump table
部署、收回和删除解决方式—-STSADM和PowerShell「建议收藏」
Klocwork 代码静态分析工具
Le capital - investissement est - il légal en Chine? C'est sûr?
SQL注入报错注入函数图文详解
UVA 11080 – Place the Guards(二分图判定)
现在网上开户安全么?想知道我现在在南宁,到哪里开户比较好?
Make this crmeb single merchant wechat mall system popular, so easy to use!
恶魔奶爸 A3阶段 近常速语流初接触
Is it safe to open a stock account at present? Can I open an account online directly.
Cantata9.0 | 全 新 功 能