Remove-CsOnlineUMMailBoxPolicy

 

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

Use the Remove-CsOnlineUMMailBoxPolicycmdlet to delete a Unified Messaging (UM) mailbox policy.

Remove-CsOnlineUMMailBoxPolicy -Identity <String> [-Confirm [<SwitchParameter>]] [-DomainController <String>] [-Force <SwitchParameter>] [-TenantId <Guid>] [-WhatIf [<SwitchParameter>]]

This example deletes the UM mailbox policy MyUMMailboxPolicy.

Remove-UMMailboxPolicy -Identity MyUMMailboxPolicy

The Remove-UMMailboxPolicy cmdlet deletes or removes a UM mailbox policy. If the UM mailbox policy is deleted from UNRESOLVED_TOKEN_VAL(exADNoMk), the UM mailbox policy can't be used when configuring UM-enabled users. The UM mailbox policy can't be deleted if the UM mailbox policy is referenced by any UM-enabled mailboxes.

After this task is completed, the UM mailbox policy is removed from UNRESOLVED_TOKEN_VAL(exADNoMk).

 

Parameter Required Type Description

Identity

Required

System.String

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

Confirm

Optional

System.Management.Automation.SwitchParameter

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

DomainController

Optional

System.String

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

Force

Optional

System.Management.Automation.SwitchParameter

Allows the command to complete without user input.

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

 
顯示: