$solution_path="x:\path\file.wsp"
$solution_name= "SolutionName"
$url = "http://hostheader"
Add-PsSnapin Microsoft.SharePoint.PowerShell -erroraction silentlycontinue
Add-SPSolution -LiteralPath $solution_path
Install-SPSolution -Identity $solution_name -WebApplication $url
Install-SPSolution -Identity $solution_name -AllWebApplications -GACDeployment -CASPolicies
No comments:
Post a Comment