Skip to content

Commit 48285a4

Browse files
Merge pull request #13457 from MicrosoftDocs/main
[AutoPublish] main to live - 03/13 07:40 PDT | 03/13 20:10 IST
2 parents f5923f3 + e53b6bd commit 48285a4

1 file changed

Lines changed: 126 additions & 7 deletions

File tree

teams/teams-ps/MicrosoftTeams/Get-CsAiAgents.md

Lines changed: 126 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
applicable: Microsoft Teams
33
author: radubulboaca
4-
external help file: Microsoft.Rtc.Management.dll-Help.xml
4+
external help file: Microsoft.Teams.ConfigAPI.Cmdlets-Help.xml
55
Locale: en-US
66
manager: gauravpa
77
Module Name: MicrosoftTeams
@@ -10,6 +10,7 @@ online version: https://learn.microsoft.com/powershell/module/microsoftteams/get
1010
schema: 2.0.0
1111
title: Get-CsAiAgents
1212
---
13+
1314
# Get-CsAiAgents
1415

1516
## SYNOPSIS
@@ -18,8 +19,12 @@ Retrieves the AI Agents in the tenant that match with the ProviderId.
1819

1920
## SYNTAX
2021

21-
```
22-
Get-CsAiAgents -ProviderId <string> [-IsTeamsIvrEnabled]
22+
### Default
23+
24+
```powershell
25+
Get-CsAiAgents -ProviderId <String> [-AgentId <String>] [-AgentIds <String>] [-ContinuationToken <String>]
26+
[-DisplayNameContains <String>] [-DisplayNamePrefix <String>] [-IsTeamsIvrEnabled] [-MaxResult <Int32>]
27+
[-ShowCount] [<CommonParameters>]
2328
```
2429

2530
## DESCRIPTION
@@ -61,17 +66,81 @@ Get-CsAiAgents -IsTeamsIvrEnabled -ProviderId "9d8f559b-5de4-46a4-902a-ad4271e83
6166

6267
## PARAMETERS
6368

64-
### -ProviderId
69+
### -AgentId
70+
71+
A filter to retrieve a specific AI Agent by its unique identifier.
72+
73+
```yaml
74+
Type: System.String
75+
Parameter Sets: (All)
76+
Aliases:
77+
78+
Required: False
79+
Position: Named
80+
Default value: None
81+
Accept pipeline input: False
82+
Accept wildcard characters: False
83+
```
84+
85+
### -AgentIds
86+
87+
A filter to retrieve multiple AI Agents by their unique identifiers.
88+
89+
```yaml
90+
Type: System.String
91+
Parameter Sets: (All)
92+
Aliases:
93+
94+
Required: False
95+
Position: Named
96+
Default value: None
97+
Accept pipeline input: False
98+
Accept wildcard characters: False
99+
```
100+
101+
### -ContinuationToken
102+
103+
A token used to retrieve the next page of results when the result set is large.
104+
105+
```yaml
106+
Type: System.String
107+
Parameter Sets: (All)
108+
Aliases:
65109

66-
A filter for ProviderId
110+
Required: False
111+
Position: Named
112+
Default value: None
113+
Accept pipeline input: False
114+
Accept wildcard characters: False
115+
```
116+
117+
### -DisplayNameContains
118+
119+
A filter to retrieve AI Agents whose display name contains the specified string.
67120
68121
```yaml
69122
Type: System.String
70123
Parameter Sets: (All)
71124
Aliases:
72125

73126
Required: False
74-
Position: 0
127+
Position: Named
128+
Default value: None
129+
Accept pipeline input: False
130+
Accept wildcard characters: False
131+
```
132+
133+
### -DisplayNamePrefix
134+
135+
A filter to retrieve AI Agents whose display name starts with the specified string.
136+
137+
```yaml
138+
Type: System.String
139+
Parameter Sets: (All)
140+
Aliases:
141+
142+
Required: False
143+
Position: Named
75144
Default value: None
76145
Accept pipeline input: False
77146
Accept wildcard characters: False
@@ -82,7 +151,55 @@ Accept wildcard characters: False
82151
Optional parameter. If specified, it filters the returned results to AI Agents that are compatible with Teams Interactive Voice Response (IVR).
83152
84153
```yaml
85-
Type: SwitchParameter
154+
Type: System.Management.Automation.SwitchParameter
155+
Parameter Sets: (All)
156+
Aliases:
157+
158+
Required: False
159+
Position: Named
160+
Default value: None
161+
Accept pipeline input: False
162+
Accept wildcard characters: False
163+
```
164+
165+
### -MaxResult
166+
167+
Specifies the maximum number of results to return.
168+
169+
```yaml
170+
Type: System.Int32
171+
Parameter Sets: (All)
172+
Aliases:
173+
174+
Required: False
175+
Position: Named
176+
Default value: None
177+
Accept pipeline input: False
178+
Accept wildcard characters: False
179+
```
180+
181+
### -ProviderId
182+
183+
A filter for ProviderId.
184+
185+
```yaml
186+
Type: System.String
187+
Parameter Sets: (All)
188+
Aliases:
189+
190+
Required: True
191+
Position: Named
192+
Default value: None
193+
Accept pipeline input: False
194+
Accept wildcard characters: False
195+
```
196+
197+
### -ShowCount
198+
199+
Optional parameter. If specified, includes the total count of matching AI Agents in the result.
200+
201+
```yaml
202+
Type: System.Management.Automation.SwitchParameter
86203
Parameter Sets: (All)
87204
Aliases:
88205

@@ -102,6 +219,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
102219
103220
## INPUTS
104221
222+
### None
223+
105224
## OUTPUTS
106225
107226
### Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IAiAgentQueryResult

0 commit comments

Comments
 (0)