New-CsTenantDialPlan

 

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

Use the New-CsTenantDialPlan cmdlet to create a new tenant dial plan.

New-CsTenantDialPlan -Identity <XdsIdentity> [-Confirm [<SwitchParameter>]] [-Description <String>] [-ExternalAccessPrefix <String>] [-Force <SwitchParameter>] [-InMemory <SwitchParameter>] [-NormalizationRules <PSListModifier>] [-OptimizeDeviceDialing <$true | $false>] [-SimpleName <String>] [-Tenant <Guid>] [-WhatIf [<SwitchParameter>]]

This example creates a tenant dial plan that has an Identity of vt1tenantDialPlan9.

New-CsTenantDialPlan  -Identity vt1tenantDialPlan9

This example creates a new normalization rule and then applies that rule to a new tenant dial plan.

$nr2 = New-CsVoiceNormalizationRule -Identity Global/NR2 -Description "TestNR1" -Pattern '^(d{11})$' -Translation '+1' -InMemory

New-CsTenantDialPlan  -Identity vt1tenantDialPlan91 -NormalizationRules @{Add=$nr2} 

 

Parameter Required Type Description

Identity

Required

Microsoft.Rtc.Management.Xds.XdsIdentity

The Identity parameter is a unique identifier that designates the name of the tenant dial plan. Identity is an alphanumeric string that cannot exceed 49 characters. Valid characters are alphabetic or numeric characters, hyphen (-) and dot (.). The value should not begin with a (.)

Confirm

Optional

System.Management.Automation.SwitchParameter

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

Description

Optional

System.String

The Description parameter describes the tenant dial plan - what it’s for, what type of user it applies to, and any other information that helps to identify the purpose of the tenant dial plan. Maximum characters: 512.

ExternalAccessPrefix

Optional

System.String

The ExternalAccessPrefix parameter is a number (or set of numbers) that designates the call as external to the organization. (For example, to tenant-dial an outside line, first press 9.) This prefix is ignored by the normalization rules, although these rules are applied to the remainder of the number.

The OptimizeDeviceDialing parameter must be set to True for this value to take effect. This parameter must match the regular expression [0-9]{1,4}: that is, it must be a value 0 through 9 and one to four digits in length. The default value is 9.

Force

Optional

System.Management.Automation.SwitchParameter

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

InMemory

Optional

System.Management.Automation.SwitchParameter

The InMemory parameter creates an object reference without actually committing the object as a permanent change.

NormalizationRules

Optional

System.Management.Automation.PSListModifier

The NormalizationRules parameter is a list of normalization rules that are applied to this dial plan. Although this list and these rules can be created directly by using this cmdlet, we recommend that you create the normalization rules by the New-CsVoiceNormalizationRule cmdlet, which creates the rule and assigns it to the specified tenant dial plan.

Each time a new tenant dial plan is created, a new voice normalization rule with default settings is also created for that site, service, or per-user tenant dial plan. By default, the Identity of the new voice normalization rule is the tenant dial plan Identity followed by a slash and then followed by the name Prefix All. (For example, TAG:Redmond/Prefix All.) The number of normalization rules cannot exceed 25 per TenantDialPlan.

You can create a new normalization rule by calling the New-CsVoiceNormalizationRule cmdlet.

OptimizeDeviceDialing

Optional

System.Boolean

PARAMVALUE: $true | $false

SimpleName

Optional

System.String

The SimpleName parameter is a display name for the tenant dial plan. This name must be unique among all tenant dial plans within the Skype for Business Server 2015 deployment.

This string can be up to 256 characters long. Valid characters are alphabetic or numeric characters, hyphen (-), dot (.) and parentheses (()).

This parameter must contain a value. However, if you don’t provide a value, a default value will be supplied. The default value for a Global tenant dial plan is Prefix All. The default value for a site-level tenant dial plan is the name of the site. The default value for a service is the name of the service (Registrar or PSTN gateway) followed by an underscore, followed by the service fully qualified domain name (FQDN). For example: Registrar_pool0.litwareinc.com. The default value for a per-user tenant dial plan is the Identity of the tenant dial plan.

Tenant

Optional

System.Guid

指定您的商務用 Skype Online 租用戶帳戶的全域唯一識別項 (GUID)。例如︰-Tenant "38aad667-af54-4397-aaa7-e94c79ec2308"。 您可以藉由執行此命令,來尋找租用戶識別碼:Get-CsTenant | Select-Object DisplayName, TenantID

WhatIf

Optional

System.Management.Automation.SwitchParameter

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

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

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

You can use this cmdlet to create a new tenant dial plan. Tenant dial plans provide required information to let Enterprise Voice users make telephone calls. The Conferencing Attendant application also uses tenant dial plans for dial-in conferencing. A tenant dial plan determines such things as which normalization rules are applied, and whether a prefix must be dialed for external calls.

註記注意事項:
You can add new normalization rules to a tenant dial plan by calling the New-CsVoiceNormalizationRule cmdlet.
 
顯示: