当前位置:网站首页>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
边栏推荐
- 恶魔奶爸 指南帖——简易版
- 万字总结数据存储,三大知识点
- 解决使用uni-app MediaError MediaError ErrorCode -5
- Codesonar enhances software reliability through innovative static analysis
- Data sorting in string
- 写一下跳表
- FatMouse' Trade(杭电1009)
- Is private equity legal in China? Is it safe?
- Word inversion implements "suggestions collection"
- Ubuntu安装mysql8遇到的问题以及详细安装过程
猜你喜欢

最新版本的CodeSonar改进了功能安全性,支持MISRA,C ++解析和可视化

使用高斯Redis实现二级索引

Don't fall behind! Simple and easy-to-use low code development to quickly build an intelligent management information system

软件缺陷静态分析 CodeSonar 5.2 新版发布
Codesonar enhances software reliability through innovative static analysis

CodeSonar如何帮助无人机查找软件缺陷?

Helix QAC 2020.2 new static test tool maximizes the coverage of standard compliance

Tensorflow2.x下如何运行1.x的代码

ERROR: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your

Cantata9.0 | new features
随机推荐
201215-03-19—cocos2dx内存管理–具体解释「建议收藏」
特征生成
私募基金在中国合法吗?安全吗?
[uvalive 6663 count the regions] (DFS + discretization) [easy to understand]
Helix QAC 2020.2 new static test tool maximizes the coverage of standard compliance
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
Phoenix JDBC
How to meet the dual needs of security and confidentiality of medical devices?
npm uninstall和rm直接删除的区别
Measure the height of the building
目前股票开户安全吗?可以直接网上开户吗。
刚开户的能买什么股票呢?炒股账户安全吗
UVA 11080 – Place the Guards(二分图判定)
恶魔奶爸 B1 听力最后壁垒,一鼓作气突破
Mahout-Pearson correlation的实现
Cocos2d-x game archive [easy to understand]
智能软件分析平台Embold
Unity3d 4.3.4f1 execution project
Static analysis of software defects codesonar 5.2 release
【函数递归】简单递归的5个经典例子,你都会吗?