Managing SharePoint 2010 Farm Solutions with Windows PowerShell
http://blog.softartisans.com/2011/01/24/managing-sharepoint-2010-farm-solutions-with-windows-powershell/ Adding solution to the solution store Prerequisite : None stsadm stsadm -o addsolution -filename SampleSolution.wsp PowerShell add-spsolution -literalpath c:\solutions\SampleSolution.wsp Because of the way PowerShell handles file path, the cmdlet’s -literalpath switch only accepts a full path to the WSP file. Using a relative path will result in a File Not Found error. Deploying solution Prerequisite : The solution has been added to the solution store. stsadm stsadm -o deploysolution -name