Test-CsEffectiveTenantDialPlan

 

Topic Last Modified: 2016-12-15

Use the Test-CsEffectiveTenantDialPlan cmdlet to test a tenant dial plan.

Test-CsEffectiveTenantDialPlan -DialedNumber <PhoneNumber> -Identity <String> [-BypassDualWrite <$true | $false>] [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

This example gets the Identity of a dial plan that is associated with a dialed number, and applies the retrieved tenant dial plan to normalize the dialed number.

Get-CsEffectiveTenantDialPlan -Identity vt1_user1 | Test-CsEffectiveTenantDialPlan -DialedNumber 14258828080
Test-CsEffectiveTenantDialPlan -DialedNumber 14258828080 -Identity 5d3ff00a-8d23-42d0-ac9e-32a2c518bc1c_Global_Vt1TenantDialPlan2

 

Parameter Required Type Description

DialedNumber

Required

Microsoft.Rtc.Management.Voice.PhoneNumber

The DialedNumber parameter is the phone number to be normalized with the effective tenant dial plan.

Identity

Required

String

The Identity parameter is the effective tenant dial plan name in the form of TenantId_GlobalVoiceDialPlan_TenantDialPlan.

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

This parameter is reserved for Microsoft internal use.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch causes the command to pause processing, and requires confirmation to proceed.

Force

Optional

System.Management.Automation.SwitchParameter

The Force switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If the Force switch isn't provided in the command, you're prompted for administrative input if required.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

The Test-CsEffectiveTenantDialPlan cmdlet normalizes the dialed number by applying the normalization rules from the effective tenant dial plan that is returned for the specified user.

 
Show: