SharePoint - add all wsps from a folder
foreach ($item in (Get-Childitem -path c:\temp\wsp)) {
$location = "c:\temp\wsp\" + $item.Name
add-spsolution -literalpath $location
}
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
foreach ($item in (Get-Childitem -path c:\temp\wsp)) {
$location = "c:\temp\wsp\" + $item.Name
add-spsolution -literalpath $location
}