SharePoint 2010 PowerShell Script to restart a Search query component
Following is the code.
$SearchApp = Get-SPEnterpriseSearchServiceApplication
-identity "Search Service Application"
$SearchApp | Get-SPEnterpriseSearchQueryTopology |
Get-SPEnterpriseSearchQueryComponent | Where-Object {$_.ServerName -eq
'NT-IRVA-1446'} | Restart-SPEnterpriseSearchQueryComponent
Comments
Post a Comment