2

Patching script. From this script, there is a command Install-SPPatch -Path C:\Updates -Pause -KeepSearchPaused:$true -SilentInstall

We can run this command, we can keep the search in the paused state until patch installation is completed on all servers, but how to start the search services once all the patches are installed in all servers in the farm?

1 Answer 1

1

The script has the cmdlets to do that, but this is what you would do:

    $ssas = Get-SPEnterpriseSearchServiceApplication

    foreach ($ssa in $ssas) {
        Write-Host -ForegroundColor Yellow "Resuming the Search Service Application: $($ssa.DisplayName)"
        Write-Host -ForegroundColor Yellow '    This could take a few minutes...'
        Resume-SPEnterpriseSearchServiceApplication -Identity $ssa | Out-Null
    }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.