//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