stsadm –o addsolution –name SharePointProject2.wsp
Add-SPSolution c:\code\SharePointProject2\bin\debug\SharePointProject2.wsp
=====================================
stsadm –o deploysolution –name SharePointProject2.wsp –url http://moss-server –allowCasPolicies –immediate
Install-SPSolution –Identity SharePointProject2.wsp –WebApplication http://sp2010 -GACDeployment
====================================
stsadm –o upgradesolution –name SharePointProject2.wsp –filename SharePointProject2.wsp –immediate –allowCasPolicies
Update-SPSolution –Identity SharePointProject2.wsp –LiteralPath c:\code\SharePointProject2\bin\debug\SharePointProject2.wsp –GACDeployment
===================================
Uninstall-SPSolution –Identity SharePointProject2.wsp –WebApplication http://sp2010
Remove-SPSolution –Identity SharePointProject2.wsp
================
Get-Help
=======================
stsadm.exe –o activatefeature –name Reporting –url http://sp2010
Enable-SPFeature –Identity Reporting –url http://sp2010
============================
Get-SPFeature [ –Web, –Site, –WebApplication, and –Farm] http://sp2010
Get-SPFeature –Identity [FeatureName] –Site http://sp2010
========================
Disable-SPFeature –Identity Reporting –url http://sp2010
Disable-SPFeature –Identity Reporting –url http://sp2010 –Confirm:$false
=========================
I also want to share the url for the blog from where I found the above commands , it is very useful L
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/12/02/adding-and-deploying-solutions-with-powershell-in-sharepoint-2010.aspx
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/01/04/activating-and-deactivating-features-with-powershell-in-sharepoint-2010.aspx
These blogs have the detail for all the commands and also have some extra information for the poweshell and stsadm commands.
Thanks.
Add-SPSolution c:\code\SharePointProject2\bin\debug\SharePointProject2.wsp
=====================================
stsadm –o deploysolution –name SharePointProject2.wsp –url http://moss-server –allowCasPolicies –immediate
Install-SPSolution –Identity SharePointProject2.wsp –WebApplication http://sp2010 -GACDeployment
====================================
stsadm –o upgradesolution –name SharePointProject2.wsp –filename SharePointProject2.wsp –immediate –allowCasPolicies
Update-SPSolution –Identity SharePointProject2.wsp –LiteralPath c:\code\SharePointProject2\bin\debug\SharePointProject2.wsp –GACDeployment
===================================
Uninstall-SPSolution –Identity SharePointProject2.wsp –WebApplication http://sp2010
Remove-SPSolution –Identity SharePointProject2.wsp
================
Get-Help
=======================
stsadm.exe –o activatefeature –name Reporting –url http://sp2010
Enable-SPFeature –Identity Reporting –url http://sp2010
============================
Get-SPFeature [ –Web, –Site, –WebApplication, and –Farm] http://sp2010
Get-SPFeature –Identity [FeatureName] –Site http://sp2010
========================
Disable-SPFeature –Identity Reporting –url http://sp2010
Disable-SPFeature –Identity Reporting –url http://sp2010 –Confirm:$false
=========================
I also want to share the url for the blog from where I found the above commands , it is very useful L
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/12/02/adding-and-deploying-solutions-with-powershell-in-sharepoint-2010.aspx
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/01/04/activating-and-deactivating-features-with-powershell-in-sharepoint-2010.aspx
These blogs have the detail for all the commands and also have some extra information for the poweshell and stsadm commands.
Thanks.
No comments:
Post a Comment