I use PowerShell remoting to deploy scripts ps1 for SharePoint 2010.
I get Memory Leak in any cases using Update-SPSolution cmdlet.
I get timeout error for deployment. And powershell.exe process in client it's get 3 GB RAM.
$SolutionPath = Join-Path $SolutionPath $SolutionName
Update-SPSolution -Identity $SolutionName -LiteralPath $SolutionPath -GACDeployment -Force
Write-Host -NoNewLine "`nExecuting job for update..."
do
{
Write-Host -NoNewLine .
Start-Sleep -Seconds 1
$targetSolution = Get-SPSolution | Where-Object {$_.Name -eq $SolutionName}
}while ($targetSolution.JobExists -eq $true)
Any suggestions for troubleshooting?

0 commentaires:
Enregistrer un commentaire