--- title: "Get-NectarAgentVersion" slug: "get-nectaragentversion" updated: 2024-08-21T15:10:25Z published: 2024-08-21T15:10:25Z canonical: "support.nectarcorp.com/get-nectaragentversion" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.nectarcorp.com/llms.txt > Use this file to discover all available pages before exploring further. # Get-NectarAgentVersion Returns a list of agent versions ## Syntax ``` Get-NectarAgentVersion -SearchQuery -TenantName ``` ## Examples ### Example 1 ``` Get-NectarAgentVersion -SearchQuery Sonus ``` Returns all the agent versions that contain 'Sonus' in the name ## Parameters **-SearchQuery ** Allows filtering of the final results | Parameter | Value | | --- | --- | | Required | false | | Position | 1 | | Required | false | | Default Value | None | | Accept pipeline input? | false | | Accept wildcard characters? | false | **-TenantName ** The name of the Nectar DXP tenant. Used in multi-tenant configurations. | Parameter | Value | | --- | --- | | Required | false | | Position | 2 | | Required | false | | Default Value | None | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false |