Get-CsTeamsUnassignedNumberTreatment

Displays a specific or all treatments for how calls to an unassigned number range should be routed.

Syntax

Get-CsTeamsUnassignedNumberTreatment
   [[-Identity] <string>]
   [<CommonParameters>]
Get-CsTeamsUnassignedNumberTreatment
   [-Filter <string>]
   [<CommonParameters>]

Description

This cmdlet displays a specific or all treatments for how calls to an unassigned number range should be routed.

Examples

Example 1

Get-CsTeamsUnassignedNumberTreatment -Identity MainAA

This example displays the treatment MainAA.

Example 2

Get-CsTeamsUnassignedNumberTreatment

This example displays all configured treatments.

Example 3

Get-CsTeamsUnassignedNumberTreatment -Filter Ann*

This example displays all configured treatments with an Identity starting with Ann.

Parameters

-Filter

Enables you to limit the returned data by filtering on the Identity attribute.

Type:String
Position:named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-Identity

The Id of the specific treatment to show.

Type:System.String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object

Notes

The cmdlet is available in Teams PS module 2.5.1 or later.