This project has moved. For the latest updates, please go here.
1
Vote

Deploy Enterprise Search Service without Portal Webapplication

description

I want to deploy the enterprise search service, but I don't want to deploy the portal webapplication with AutoSPInstaller.
In this case the script gives the error, that
$xmlinput.Configuration.WebApplications.WebApplication
is empty.

Fix:
In function CreateEnterpriseSearchServiceApp, remove the three lines
$portalWebApp = $xmlinput.Configuration.WebApplications.WebApplication | Where {$_.Type -eq "Portal"} | Select-Object -First 1
$portalURL = ($portalWebApp.URL).TrimEnd("/")
$portalPort = $portalWebApp.Port
Therefore it is working. (After all you don't even need these variables in this function.)

comments