Wednesday, 9 May 2018

Deploy wsp 2010



//To Get Backup of wsp
$file - $farm.Solutions.Item("filename.wsp").SolutionFile
$file.SaveAs("D:\filename.wsp")



//To Add wsp sol on farm
Add-SPSolution -LiteralPath "D:\filename.wsp"


//to install wsp
Install-SPSolution -Identity filename.wsp -WebApplication "http://site:port/"

No comments:

Post a Comment