Get-CsOnlineUMMailBoxPolicy

 

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

Use the Get-CsOnlineUMMailBoxPolicy cmdlet to display the properties and values of a Unified Messaging (UM) mailbox policy.

Get-CsOnlineUMMailBoxPolicy [-DomainController <String>] [-Force <SwitchParameter>] [-Identity <String>] [-Organization <String>] [-TenantId <Guid>] [-UMDialPlan <String>]

This example returns a formatted list of all UM mailbox policies in the UNRESOLVED_TOKEN_VAL(exADNoMk) forest.

Get-UMMailboxPolicy | Format-List

This example returns the properties and values for the UM mailbox policy MyUMMailboxPolicy.

Get-UMMailboxPolicy -Identity MyUMMailboxPolicy

This examples displays all the UM mailbox policies associated with the UM dial plan MyUMDialPlan.

Get-UMMailboxPolicy -UMDialPlan MyUMDialPlan

The Get-UMMailboxPolicy cmdlet retrieves the configuration properties and values for a UM mailbox policy or returns a list of UM mailbox policies.

After this task is completed, if the Identity parameter is supplied, the properties and values for the specified UM mailbox policy object are returned. If no parameter is specified at the command prompt, all the UM mailbox policies in your organization will be returned.

 

Parameter Required Type Description

DomainController

Optional

System.String

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

Force

Optional

System.Management.Automation.SwitchParameter

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

Identity

Optional

System.String

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

Organization

Optional

System.String

UNRESOLVED_TOKEN_VAL(PD_OnPrem_Only_ParameterPD_OrganizationalUnit_Get)

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 參數主要是用於混合式部署。

UMDialPlan

Optional

System.String

Specifies that all UM mailbox policies associated with the UM dial plan are displayed.

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

 
顯示: