Search Service Config Using Powershell
Powershell Commands 1. Remove Search service application Get-SPServiceApplication |select id,name Remove-SPServiceApplication 1c491356-fe50-4f98-8511-39e67c2b8034 -removedata 2. Configure Serach service # Based on scripts at http://www.harbar.net/articles/sp2013mt.aspx # Thanks Spence! # Get App Pool $saAppPoolName = "SearchAdmin11012016" # Search Specifics, we are single server farm $searchServerName = (Get-ChildItem env:computername).value $serviceAppName = "Search Service Application" $searchDBName = "SearchService_DB" # Grab the Appplication Pool for Service Application Endpoint $saAppPool = Get-SPServiceApplicationPool $saAppPoolName # Start Search Service Instances Write-Host "Starting Search Service Instances..." Start-SPEnterpriseSearchServiceInstance $searchServerName Start-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance $searchServerName # Create the Search Service Application and Proxy Write-Host ...