Sharepoint solution deployment using powershell commands
1.Adding Solution :
Add-SPSolution c:\code\SolutionPackage.wsp
2.Deploying Solution :
Install-SPSolution SolutionPackage.wsp –WebApplication http://servername –GACDeployment
3.Uninstalling Solution:
Uninstall-SPSolution SolutionPackage.wsp –WebApplication http://servername
4.Removing Solution :
Remove-SPSolution SolutionPackage.wsp
5.Activating Feature :
Enable-SPFeature FeatureName -Url http://siteurl
6.DeActivating Fetaure :
Disable-SPFeature FeatureName -Url SiteUrl
7.Get All Commands :
Get-Command –noun *SPSolution*
Add-SPSolution c:\code\SolutionPackage.wsp
2.Deploying Solution :
Install-SPSolution SolutionPackage.wsp –WebApplication http://servername –GACDeployment
3.Uninstalling Solution:
Uninstall-SPSolution SolutionPackage.wsp –WebApplication http://servername
4.Removing Solution :
Remove-SPSolution SolutionPackage.wsp
5.Activating Feature :
Enable-SPFeature FeatureName -Url http://siteurl
6.DeActivating Fetaure :
Disable-SPFeature FeatureName -Url SiteUrl
7.Get All Commands :
Get-Command –noun *SPSolution*
No comments: