| applicable | Microsoft Teams |
|---|---|
| author | tomkau |
| external help file | Microsoft.Rtc.Management.dll-Help.xml |
| Locale | en-US |
| manager | bulenteg |
| Module Name | MicrosoftTeams |
| ms.author | tomkau |
| ms.reviewer | williamlooney |
| online version | https://learn.microsoft.com/powershell/module/microsoftteams/get-cscallqueue |
| schema | 2.0.0 |
| title | Get-CsCallQueue |
The Get-CsCallQueue cmdlet returns the identified Call Queues.
Get-CsCallQueue [-Identity <Guid>] [-Tenant <Guid>] [-First <Int32>] [-Skip <Int32>] [-ExcludeContent <Switch>] [-Sort <String>] [-Descending <Switch>] [-NameFilter <String>] [<CommonParameters>]
The Get-CsCallQueue cmdlet lets you retrieve information about the Call Queues in your organization. Call Queue output contains statistical data on the number of active calls that are in the queue.
Get-CsCallQueue
This example gets the first 100 call queues in the organization.
Get-CsCallQueue -Identity 5e3a575e-1faa-49ff-83c2-5cf1c36c0e01
This example gets the Call Queue with the identity 5e3a575e-1faa-49ff-83c2-5cf1c36c0e01. If no Call Queue exists with the identity 5e3a575e-1faa-49ff-83c2-5cf1c36c0e01, then this example generates an error.
The Descending parameter sorts Call Queues in descending order
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe ExcludeContent parameter only displays the Name and Id of the Call Queues
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe 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 -Skip parameter for pagination purposes.
If a number greater than 100 is supplied, the request will fail.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 100
Accept pipeline input: False
Accept wildcard characters: FalsePARAMVALUE: Guid
Type: Guid
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe NameFilter parameter returns Call Queues where name contains specified string
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe Skip parameter skips the first N call queues. It is intended to be used in conjunction with the -First parameter for pagination purposes.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe Sort parameter specifies the property used to sort.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: Name
Accept pipeline input: False
Accept wildcard characters: FalseThis parameter is reserved for Microsoft internal use only.
Type: Guid
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Represents the unique identifier of a Call Queue.