Get-UMActiveCalls (RTM)

 

適用版本: Exchange Server 2007

上次修改主題的時間: 2007-06-11

Get-UMActiveCalls 指令程式會傳回作用中且 Unified Messaging Server 正在處理之呼叫的相關資訊。

語法

Get-UMActiveCalls [-DomainController <Fqdn>] [-Server <ServerIdParameter>]

Get-UMActiveCalls -InstanceServer <UMServer> [-DomainController <Fqdn>]

Get-UMActiveCalls -DialPlan <UMDialPlanIdParameter> [-DomainController <Fqdn>]

Get-UMActiveCalls -IPGateway <UMIPGatewayIdParameter> [-DomainController <Fqdn>]

詳細描述

Get-UMActiveCalls 指令程式會傳回正在處理之作用中呼叫的相關資訊。如果 Get-UMActiveCalls 指令程式指定 UM 撥號對應表或 UM IP 閘道,則會查看 Active Directory 目錄服務以判定必須連絡的 Unified Messaging Server。如果是在命令列中指定 Unified Messaging Server,則 Get-UMActiveCalls 指令程式會傳回所指定之伺服器正在處理的作用中呼叫。

note附註:
當 Unified Messaging Server 正在進行循環處理時,Get-UMActiveCalls 指令程式不會針對已停用的處理程序及作用中處理程序傳回所有呼叫的清單。它只會傳回新處理程序的作用中呼叫。

若要執行 Get-UMActiveCalls 指令程式,必須對您使用的帳戶委派下列項目:

  • Exchange Server 系統管理員角色和目標伺服器的本機 Administrators 群組

如需管理 Exchange Server 2007 所需之權限、委派角色及權利的相關資訊,請參閱權限考量

參數

參數 必要 類型 描述

DialPlan

必要

Microsoft.Exchange.Configuration.Tasks.UMDialPlanIdParameter

此參數指定想要擷取其作用中呼叫的 UM 撥號對應表。

InstanceServer

必要

Microsoft.Exchange.Data.Directory.Management.UMServer

此參數指定想要擷取其作用中呼叫的 Unified Messaging Server。

IPGateway

必要

Microsoft.Exchange.Configuration.Tasks.UMIPGatewayIdParameter

此參數指定想要擷取其作用中呼叫的 UM IP 閘道。

DomainController

選用

Microsoft.Exchange.Data.Fqdn

此參數會指定從 Active Directory 擷取資料之網域控制站的網域全名 (FQDN),請在命令中加入 DomainController 參數。

Server

選用

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

此參數指定想要擷取其作用中呼叫的 Unified Messaging Server。

輸入類型

傳回類型

錯誤

錯誤 描述

 

 

例外狀況

例外狀況 描述

 

 

範例

第一個程式碼範例會顯示本機 Unified Messaging Server 上所有作用中呼叫的詳細資料。

第二個程式碼範例會顯示名為 MyUMServer 之 Unified Messaging Server 上,所有作用中呼叫的詳細資料。

第三個程式碼範例會顯示名為 MyUMIPGateway 的 UM IP 閘道正在處理的所有作用中呼叫的詳細資料。

第四個程式碼範例會顯示與名為 MyUMDialPlan 之 UM 撥號對應表關聯的作用中呼叫清單。

Get-UMActiveCalls

Get-UMActiveCalls -Server MyUMServer

Get-UMActiveCalls -IPGateway MyUMIPGateway

Get-UMActiveCalls -DialPlan MyUMDialPlan