当前位置:网站首页>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
边栏推荐
- MinGW MinGW-w64 TDM-GCC等工具链之间的差别与联系「建议收藏」
- Implement secondary index with Gaussian redis
- [UVALive 6663 Count the Regions] (dfs + 离散化)[通俗易懂]
- Static analysis of software defects codesonar 5.2 release
- MySQL storage expression error
- gridView自己定义做时间排版「建议收藏」
- 阿洛的烦恼
- [award publicity] issue 22 publicity of the award list in June 2022: Community star selection | Newcomer Award | blog synchronization | recommendation Award
- POJ 3140 Contestants Division「建议收藏」
- 反诈困境,国有大行如何破局?
猜你喜欢

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

解决使用uni-app MediaError MediaError ErrorCode -5
MySQL约束之默认约束default与零填充约束zerofill

OneSpin | 解决IC设计中的硬件木马和安全信任问题

上海交大最新《标签高效深度分割》研究进展综述,全面阐述无监督、粗监督、不完全监督和噪声监督的深度分割方法

目标:不排斥 yaml 语法。争取快速上手
MySQL storage expression error
Codesonar enhances software reliability through innovative static analysis

神兵利器——敏感文件发现工具

CodeSonar网络研讨会
随机推荐
Codeforces round 296 (Div. 2) A. playing with paper[easy to understand]
AADL inspector fault tree safety analysis module
目前股票开户安全吗?可以直接网上开户吗。
Écrivez une liste de sauts
恶魔奶爸 A0 英文零基础的自我提升路
Unity3d 4.3.4f1 execution project
uva 12230 – Crossing Rivers(概率)「建议收藏」
201215-03-19—cocos2dx内存管理–具体解释「建议收藏」
智能交通焕发勃勃生机,未来会呈现哪些巨变?[通俗易懂]
Optimization cases of complex factor calculation: deep imbalance, buying and selling pressure index, volatility calculation
POJ 3140 contents division "suggestions collection"
Numerical method for solving optimal control problem (0) -- Definition
单词反转实现「建议收藏」
Referrer和Referrer-Policy简介
OneSpin | 解决IC设计中的硬件木马和安全信任问题
H3C s7000/s7500e/10500 series post stack BFD detection configuration method
[paper reading] maps: Multi-Agent Reinforcement Learning Based Portfolio Management System
Lex & yacc of Pisa proxy SQL parsing
开户还得用身份证银行卡安全吗,我是小白不懂
DataTable数据转换为实体