New-CsOnlineUMMailBoxPolicy

 

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

Use the New-CsOnlineUMMailBoxPolicycmdlet to create a Unified Messaging (UM) mailbox policy.

New-CsOnlineUMMailBoxPolicy -Identity <String> -UMDialPlan <String> [-DomainController <String>] [-Force <SwitchParameter>] [-Organization <String>] [-SharedUMDialPlan <SwitchParameter>] [-TenantId <Guid>] [-WhatIf [<SwitchParameter>]]

This example creates the UM mailbox policy MyUMMailboxPolicy associated with the UM dial plan MyUMDialPlan.

New-UMMailboxPolicy -Name MyUMMailboxPolicy -UMDialPlan MyUMDialPlan

The New-UMMailboxPolicy cmdlet creates a UM mailbox policy that has organization-wide scope. UM mailbox policies provide a set of policy values to be applied to UM-enabled users associated with a particular UM dial plan. UM mailbox policies are directly associated with UM dial plans. Therefore, the settings contained within a UM mailbox policy apply only to UM-enabled users of the UM dial plan that the UM mailbox policy is associated with. You can also use the New-UMMailboxPolicy cmdlet to create a UM mailbox policy template that can be used to create additional UM mailbox policies.

After this task is completed, a new UM mailbox policy is created.

 

Parameter Required Type Description

Identity

Required

System.String

The Identity parameter specifies the identifier for the UM mailbox policy being modified. This is the directory object ID for the UM mailbox policy.

UMDialPlan

Required

System.String

The UMDialPlan parameter specifies the identifier for the UM dial plan to be associated with the UM mailbox policy. This parameter is the directory object ID for the UM dial plan.

DomainController

Optional

System.String

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

Force

Optional

System.Management.Automation.SwitchParameter

Allows the command to complete without any prompts for user input.

Organization

Optional

System.String

UNRESOLVED_TOKEN_VAL(PD_OrganizationalUnit_Get)

SharedUMDialPlan

Optional

System.Management.Automation.SwitchParameter

The name of the shared UM dial plan.

TenantId

Optional

System.Guid

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

如果您正在使用 Windows PowerShell 的遠端工作階段,而且只連線到商務用 Skype Online,則您不需要包含 Tenant 參數。租用戶識別碼會依您的連線及認證來判定。Tenant 參數主要是用於混合式部署。

WhatIf

Optional

System.Management.Automation.SwitchParameter

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

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

 
顯示: