*** When a wsp is available ***
Adding a solution to the Solution Store
Add-SPSolution -LiteralPath <SolutionPath>
Deploy a solution
Install-SPSolution -Identity <SolutionName> -WebApplication <URLname>
To deploy a solution package to all Web applications
Install-SPSolution -Identity <SolutionName> -AllWebApplications -time <TimeToDeploy> -GACDeployment -CASPolicies
To upgrade an existing wsp solution file
Update-SPSolution –Identity mySolution.wsp –LiteralPath c:\mySolution.wsp –GACDeployment
To uninstall a solution
Uninstall-SPSolution –Identity mySolution.wsp –WebApplication http://webapp
To remove a solution
Remove-SPSolution –Identity mySolution.wsp
Adding a solution to the Solution Store
Add-SPSolution -LiteralPath <SolutionPath>
Deploy a solution
Install-SPSolution -Identity <SolutionName> -WebApplication <URLname>
To deploy a solution package to all Web applications
Install-SPSolution -Identity <SolutionName> -AllWebApplications -time <TimeToDeploy> -GACDeployment -CASPolicies
To upgrade an existing wsp solution file
Update-SPSolution –Identity mySolution.wsp –LiteralPath c:\mySolution.wsp –GACDeployment
To uninstall a solution
Uninstall-SPSolution –Identity mySolution.wsp –WebApplication http://webapp
To remove a solution
Remove-SPSolution –Identity mySolution.wsp
No comments:
Post a Comment