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
}
Questo browser non è più supportato.
Esegui l'aggiornamento a Microsoft Edge per sfruttare i vantaggi di funzionalità più recenti, aggiornamenti della sicurezza e supporto tecnico.
foreach ($item in (Get-Childitem -path c:\temp\wsp)) {
$location = "c:\temp\wsp\" + $item.Name
add-spsolution -literalpath $location
}