Test-CsEffectiveTenantDialPlan

 

上次修改主題的時間:2017-06-20

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

Test-CsEffectiveTenantDialPlan [-DialedNumber <PhoneNumber>] [-Identity <UserIdParameter>] [-TenantScopeOnly <SwitchParameter>] <COMMON PARAMETERS>

Test-CsEffectiveTenantDialPlan -DialedNumber <PhoneNumber> [-EffectiveTenantDialPlanName <String>] [-TenantScopeOnly <SwitchParameter>] <COMMON PARAMETERS>

COMMON PARAMETERS: [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-TenantScopeOnly <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.

Confirm

Optional

System.Management.Automation.SwitchParameter

Confirm 參數會導致此命令暫停處理,並需要確認才能進行。

EffectiveTenantDialPlanName

Optional

System.String

PARAMVALUE: String

Force

Optional

System.Management.Automation.SwitchParameter

Force 參數會指定是否抑制警告和確認訊息。這在撰寫指令碼以抑制互動式提示時可能很有用。如果命令中不提供 Force 參數,您會在必要時看到提示管理員輸入。

Identity

Optional

Microsoft.Rtc.Management.AD.UserIdParameter

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

TenantScopeOnly

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

WhatIf

Optional

System.Management.Automation.SwitchParameter

WhatIf 參數會導致此命令模擬其結果。使用此參數,您不需認可變更,就能檢視這些變更。

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

參數會保留供 Microsoft 內部使用。

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.

 
顯示: