Grant-CsTenantDialPlan

 

上次修改主題的時間:2017-03-29

Use the Grant-CsTenantDialPlan cmdlet to assign an existing tenant dial plan to a user.

Grant-CsTenantDialPlan -Identity <UserIdParameter> -PolicyName <String> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-PassThru <SwitchParameter>] [-Tenant <Guid>] [-WhatIf [<SwitchParameter>]]

This example grants the Vt1tenantDialPlan 9 dial plan to Vt1_User1.

Grant-CsTenantDialPlan -PolicyName Vt1tenantDialPlan9  -Identity (Get-CsOnlineUser Vt1_User1).SipAddress

 

Parameter Required Type Description

Identity

Required

Microsoft.Rtc.Management.AD.UserIdParameter

The Identity parameter identifies the user to whom the policy should be assigned.

PolicyName

Required

System.String

The PolicyName parameter is the name of the tenant dial plan to assign to the specified user.

Confirm

Optional

System.Management.Automation.SwitchParameter

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

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

指定此 Cmdlet 用來讀取或寫入指定資料的網域控制站。這個參數的有效輸入不是網域全名 (FQDN) 就是電腦名稱。

PassThru

Optional

System.Management.Automation.SwitchParameter

The PassThru switch parameter returns the results of the command.

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 參數會導致此命令模擬其結果。使用此參數,您不需認可變更,就能檢視這些變更。

The Grant-CsTenantDialPlan cmdlet assigns an existing tenant dial plan to a user. Tenant dial plans provide information that is required for Enterprise Voice users to make telephone calls. Users who do not have a valid tenant dial plan cannot make calls by using Enterprise Voice. A tenant dial plan determines such things as how normalization rules are applied, and whether a prefix must be dialed for external calls.

You can check whether a user has been granted a per-user tenant dial plan by calling a command in this format: Get-CsOnlineUser "<user name>" | Select-Object TenantDialPlan.

 
顯示: