Edit

Share via


Test-CsTeamsUnassignedNumberTreatment

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

Syntax

Default (Default)

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.

Parameter properties

Type:System.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:True
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

System.String

Outputs

System.Object

Notes

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