Modifica

Get-CsAgent

Use the Get-CsAgent cmdlet to list the AI Agent(s).

Syntax

Default (Default)

Get-CsAgent
    [-Id <string>]
    [<CommonParameters>]

Description

Use the Get-CsAgent cmdlet to list the AI Agent(s) configured in the tenant. When the -Id parameter is omitted, all AI Agents in the tenant are returned.

Caution

This cmdlet will only work for customers that are participating in the AI Agent private preview for this feature. General Availability for this functionality has not been determined at this time.

Examples

Example 1

Get-CsAgent -Id 7d9997d0-1013-4d9c-83eb-caa6ec05f1b3

This example retrieves the AI Agent with the Id 7d9997d0-1013-4d9c-83eb-caa6ec05f1b3.

Example 2

Get-CsAgent

This example retrieves all the AI Agents.

Parameters

-Id

The Id of the AI Agent. Optional.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Microsoft.Rtc.Management.OAA.Models.AIAgentConfiguration