Good Morning
Getting error at the time of creation of SharePoint 2013 search service application using PowerShell script.
Scenario: in my environment App, WFE , SQL and WFE in a DMG when i run the scripts it’s not complete successfully.Ā Please give me your suggestion.
Hi,
Is it how you are activating at the end? Try the following
Set-SPEnterpriseSearchTopology -Identity $Clone
Also instead of cloning the running topology, create a new one as you add all components etc. in the script
ReplaceĀ
$clone = $ServiceApplication.ActiveTopology.Clone()
With
$clone = $ServiceApplication | New-SPEnterpriseSearchTopology
Let me know how you get on.
Regards,
Luke

