This script allows to get all the query suggestions already imported in the search infrastructure of a SharePoint Farm. The script contains a function that uses the cmdlet Get-SPEnterpriseSearchQuerySuggestionCandidates to get
all the query suggestions. Additionally, Get-SPEnterpriseSearchServiceApplication and Get-SPEnterpriseSearchOwner cmdlets are used in order to get the parameters required for the first mentioned cmdlet.