I'm attempting to export all query rules for a provided URL to a csv file via PowerShell. I have this working about 80%, the last piece I need is to find the keywords or terms that actually trigger the query rule. Through Microsoft.Office.Server.Search.Query.Rules.QueryRuleManager I can collect the query rule title, any promoted results, publication info (start date, end date, etc) but I can't seem to return the triggering keywords. The only related property I can seem to find is "QueryConditions" which tells me the rule is fired via keyword but not what they are. Is there another reference or something else I am missing?
Any help or insight appreciated.
