Test-CsTeamsUnassignedNumberTreatment

This cmdlet tests the given number against the created (by using New-CsTeamsUnassignedNumberTreatment cmdlet) unassigned number treatment configurations.

Syntax

Test-CsTeamsUnassignedNumberTreatment
    -PhoneNumber <string>
    [<CommonParameters>]

Description

This cmdlet tests the given number against the created (by using New-CsTeamsUnassignedNumberTreatment cmdlet) unassigned number treatment configurations. If a match is found, the matching treatment is displayed.

Examples

Example 1

PS C:\> Test-CsTeamsUnassignedNumberTreatment -PhoneNumber "321321321"

Tests the "321321321" number to check if there is a matching unassigned number treatment.

Parameters

-PhoneNumber

The phone number to be tested.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

System.String

Outputs

System.Object

Notes

The cmdlet is available in Teams PS module 3.2.0-preview or later.