A Practical Guide to SharePoint 2013

A Practical Guide to SharePoint 2013
A Practical Guide to SharePoint 2013 - Book by Saifullah Shafiq

Monday, April 11, 2011

If you are looking to deploy a WSP using Powershell, use following stsadm alternative commands (PS).

Open SharePoint 2010 Management Shell and type following comman to add solution:

Add-spsolution “C:\installation\mylist.wsp”

To deploy the above WSP, use following command:

Install-spsolution –identity mylist.wsp –gacdeployment

If you want to specify a URL, use following command:

Install-spsolution –identity mylist.wsp –webapplication http://spsite –gacdeployment