Commands › Microsoft Teams

Get-CsCallQueue

Microsoft Teams MicrosoftTeams Get-*

The Get-CsCallQueue cmdlet returns the identified Call Queues.

Quick start script

# Get-CsCallQueue — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Run and inspect
Get-CsCallQueue -NameFilter <String> -Sort <String> | Format-List

# 3. Export for evidence / drift tracking
Get-CsCallQueue | Export-Clixml .\CsCallQueue-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-CsCallQueue [-Identity <Guid>] [-Tenant <Guid>] [-First <Int32>] [-Skip <Int32>] [-ExcludeContent <Switch>] [-Sort <String>] [-Descending <Switch>] [-NameFilter <String>] [<CommonParameters>]

Parameters (8)

ParameterTypeRequiredWhat it controls
-Descending SwitchParameter The Descending parameter sorts Call Queues in descending order
-ExcludeContent SwitchParameter The ExcludeContent parameter only displays the Name and Id of the Call Queues
-First Int32 The First parameter gets the first N Call Queues, up to a maximum of 100 at a time. When not specified, the default behavior is to return the first 100 call queues. It is intended to be used in conjunction with the...
-Identity Guid PARAMVALUE: Guid
-NameFilter String yes The NameFilter parameter returns Call Queues where name contains specified string
-Skip Int32 The Skip parameter skips the first N call queues. It is intended to be used in conjunction with the `-First` parameter for pagination purposes.
-Sort String yes The Sort parameter specifies the property used to sort.
-Tenant Guid This parameter is reserved for Microsoft internal use only.

Message Center changes mentioning this command

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.