Add Solution
Add-SPSolution -LiteralPath C:\test.Application.wsp
Deploy Solution For all Web Applications
Install-SPSolution -Identity test.Application.wsp -AllWebApplications -GACDeployment -Force
Deploy Solution For Specific Web Applications
Install-SPSolution –Identity $wsp -GACDeployment -force -WebApplication "http://test.com"
Update WSP in Sharepoint
Update-SPSolution -Identity ListDefinition.wsp -LiteralPath "C:\Users\Desktop\published\ListDefinition.wsp"-GACDeployment
Backup site collection
Backup-SPSite http://test:11111/test -Path C:\Backup\testBack.bak
Enable-SPFeature -Identity "PublishingWeb" -Url http://test\
Add-SPSolution -LiteralPath C:\test.Application.wsp
Deploy Solution For all Web Applications
Install-SPSolution -Identity test.Application.wsp -AllWebApplications -GACDeployment -Force
Deploy Solution For Specific Web Applications
Install-SPSolution –Identity $wsp -GACDeployment -force -WebApplication "http://test.com"
Update WSP in Sharepoint
Update-SPSolution -Identity ListDefinition.wsp -LiteralPath "C:\Users\Desktop\published\ListDefinition.wsp"-GACDeployment
Backup site collection
Backup-SPSite http://test:11111/test -Path C:\Backup\testBack.bak
Enable the SharePoint Server Publishing Feature
Enable-SPFeature -Identity "PublishingWeb" -Url http://test\
No comments:
Post a Comment