I am running the following command but is not importing my custom alert:
$searchDefinition = Get-Content "C:\Definitions\Search.xml"
Add-CASearch –Connection $connection –XmlSearchDefinition $searchDefinition –IsPublic –Path "Shared\Test" –Name “Custom Search” -PassThru
If I do this with GUI imports everything. Any suggestions?