SharePoint 命令行

mac2022-06-30  45

网站集备份: Backup-SPSite http://sp2013 -Path C:\sp.bak 网站集还原: Restore-SPSite http://sp2013/sites/dyzx -Path E:\sp.bak -Force -DatabaseServer SP2013 -DatabaseName wss_content 更新Wsp包: Update-SPSolution –Identity DigitalCampusLists.wsp –LiteralPath C:\Users\spadmin\Deskp\DigitalCampusLists.wsp –GACDeployment 查找解决方案帮助文档: get-help install-spsolution 添加解决方案: Add-SPSolution -LiteralPath C:\sp.wsp 覆盖部署解决方案: Install-SPSolution -Identity sp.wsp -WebApplication http://sp2013 -GACDeployment -Force 更新解决方案: Update-SPSolution –Identity sp.wsp –LiteralPath C:\sp.wsp –GACDeployment -Force 导出网站: Export-spweb http://sp2013/spsite -Path C:\sp.cmp 导入网站: Import-SPWeb http://sp2013/spsite -Path C:\sp.cmp

转载于:https://www.cnblogs.com/ZhangJiXuan/p/9818138.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)