Get-CsCallQueue
The Get-CsCallQueue cmdlet returns the identified Call Queues.
Syntax
Default (Default)
Get-CsCallQueue
[-Identity <Guid>]
[-Tenant <Guid>]
[-First <Int32>]
[-Skip <Int32>]
[-ExcludeContent <Switch>]
[-Sort <String>]
[-Descending <Switch>]
[-NameFilter <String>]
[<CommonParameters>]
Description
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.
Examples
Example 1
Get-CsCallQueue
This example gets the first 100 call queues in the organization.
Example 2
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.
Parameters
-Descending
Applicable: Microsoft Teams
The Descending parameter sorts Call Queues in descending order
Parameter properties
Type: | SwitchParameter |
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 |
-ExcludeContent
Applicable: Microsoft Teams
The ExcludeContent parameter only displays the Name and Id of the Call Queues
Parameter properties
Type: | SwitchParameter |
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 |
-First
Applicable: Microsoft Teams
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 -Skip
parameter for pagination purposes.
If a number greater than 100 is supplied, the request will fail.
Parameter properties
Type: | Int32 |
Default value: | 100 |
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 |
-Identity
Applicable: Microsoft Teams
PARAMVALUE: Guid
Parameter properties
Type: | Guid |
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 |
-NameFilter
Applicable: Microsoft Teams
The NameFilter parameter returns Call Queues where name contains specified string
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Skip
Applicable: Microsoft Teams
The Skip parameter skips the first N call queues. It is intended to be used in conjunction with the -First
parameter for pagination purposes.
Parameter properties
Type: | Int32 |
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 |
-Sort
Applicable: Microsoft Teams
The Sort parameter specifies the property used to sort.
Parameter properties
Type: | String |
Default value: | Name |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Tenant
Applicable: Microsoft Teams
PARAMVALUE: Guid
Parameter properties
Type: | Guid |
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
Identity
Represents the unique identifier of a Call Queue.