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>
[-TenantId <Guid>]
[-WhatIf][-Confirm]
[<CommonParameters>]
Description
This cmdlet tests the given number against the created (by using New-CsTeamsUnassignedNumberTreatment cmdlet) unassigned number treatment configurations.
Examples
Example 1
PS C:\> Test-CsTeamsUnassignedNumberTreatment -PhoneNumber "321321321"
Tests the "321321321" number to check if there is a matching unassigned number treatment.
Parameters
Prompts you for confirmation before running the cmdlet.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The phone number to be tested.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
This parameter is reserved for internal Microsoft use.
| Type: | Guid |
| Position: | Names |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
System.String
System.Guid
Outputs
System.Object
Notes
The cmdlet is available in Teams PS module 3.2.0-preview or later.
Related Links
Feedback
Submit and view feedback for