.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Code Snippets >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

how to deploying Farm and sandbox solution using power shell

Posted By:Sagar Pardeshi       Posted Date: September 14, 2013    Points: 40    Category: SharePoint    URL: http://www.dotnetspark.com  

Using power shell deployed farm and sandbox solution

Farm solution

Add -SPSolution C:\Code\Project\Bin\Debug\SPFarmproject. Wsp 

Install -SpSolution -Identity SPFarmproject. Wsp - WebApplication http://SP2010 GACDDeployment 

Sandbox Solution

Add -SPUserSolution -LiteralPath C:\Code\SPSandboxProj.Wsp -Site Http:\\Sp2010/sites/SPsandbox

Install  -SpUserSolution -Identity SPSandboxProj.Wsp -Site Http:\\Sp2010/sites/SPsandbox


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend