Set-UMAutoAttendant

 

適用版本: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1

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

Set-UMAutoAttendant 指令程式會修改現有的整合通訊 (UM) 自動語音應答。

語法

Set-UMAutoAttendant -Identity <UMAutoAttendantIdParameter> [-AfterHoursKeyMapping <MultiValuedProperty>] [-AfterHoursKeyMappingEnabled <$true | $false>] [-AfterHoursMainMenuCustomPromptEnabled <$true | $false>] [-AfterHoursMainMenuCustomPromptFilename <String>] [-AfterHoursTransferToOperatorEnabled <$true | $false>] [-AfterHoursWelcomeGreetingEnabled <$true | $false>] [-AfterHoursWelcomeGreetingFilename <String>] [-AllowDialPlanSubscribers <$true | $false>] [-AllowedInCountryOrRegionGroups <MultiValuedProperty>] [-AllowedInternationalGroups <MultiValuedProperty>] [-AllowExtensions <$true | $false>] [-BusinessHoursKeyMapping <MultiValuedProperty>] [-BusinessHoursKeyMappingEnabled <$true | $false>] [-BusinessHoursMainMenuCustomPromptEnabled <$true | $false>] [-BusinessHoursMainMenuCustomPromptFilename <String>] [-BusinessHoursSchedule <ScheduleInterval[]>] [-BusinessHoursTransferToOperatorEnabled <$true | $false>] [-BusinessHoursWelcomeGreetingEnabled <$true | $false>] [-BusinessHoursWelcomeGreetingFilename <String>] [-CallSomeoneEnabled <$true | $false>] [-Confirm [<SwitchParameter>]] [-ContactAddressList <AddressListIdParameter>] [-ContactRecipientContainer <OrganizationalUnitIdParameter>] [-ContactScope <DialPlan | GlobalAddressList | AddressList>] [-DomainController <Fqdn>] [-DTMFFallbackAutoAttendant <UMAutoAttendantIdParameter>] [-HolidaySchedule <MultiValuedProperty>] [-InfoAnnouncementEnabled <True | False | Uninteruptible>] [-InfoAnnouncementFilename <String>] [-Language <UMLanguage>] [-MatchedNameSelectionMethod <Title | Department | Location | None | PromptForAlias | InheritFromDialPlan>] [-Name <String>] [-NameLookupEnabled <$true | $false>] [-OperatorExtension <String>] [-PilotIdentifierList <MultiValuedProperty>] [-SendVoiceMsgEnabled <$true | $false>] [-SpeechEnabled <$true | $false>] [-TimeZone <String>] [-TimeZoneName <UMTimeZone>] [-WhatIf [<SwitchParameter>]]

Set-UMAutoAttendant [-AfterHoursKeyMapping <MultiValuedProperty>] [-AfterHoursKeyMappingEnabled <$true | $false>] [-AfterHoursMainMenuCustomPromptEnabled <$true | $false>] [-AfterHoursMainMenuCustomPromptFilename <String>] [-AfterHoursTransferToOperatorEnabled <$true | $false>] [-AfterHoursWelcomeGreetingEnabled <$true | $false>] [-AfterHoursWelcomeGreetingFilename <String>] [-AllowDialPlanSubscribers <$true | $false>] [-AllowedInCountryOrRegionGroups <MultiValuedProperty>] [-AllowedInternationalGroups <MultiValuedProperty>] [-AllowExtensions <$true | $false>] [-BusinessHoursKeyMapping <MultiValuedProperty>] [-BusinessHoursKeyMappingEnabled <$true | $false>] [-BusinessHoursMainMenuCustomPromptEnabled <$true | $false>] [-BusinessHoursMainMenuCustomPromptFilename <String>] [-BusinessHoursSchedule <ScheduleInterval[]>] [-BusinessHoursTransferToOperatorEnabled <$true | $false>] [-BusinessHoursWelcomeGreetingEnabled <$true | $false>] [-BusinessHoursWelcomeGreetingFilename <String>] [-CallSomeoneEnabled <$true | $false>] [-Confirm [<SwitchParameter>]] [-ContactAddressList <AddressListIdParameter>] [-ContactRecipientContainer <OrganizationalUnitIdParameter>] [-ContactScope <DialPlan | GlobalAddressList | AddressList>] [-DomainController <Fqdn>] [-DTMFFallbackAutoAttendant <UMAutoAttendantIdParameter>] [-HolidaySchedule <MultiValuedProperty>] [-InfoAnnouncementEnabled <True | False | Uninteruptible>] [-InfoAnnouncementFilename <String>] [-Instance <UMAutoAttendant>] [-Language <UMLanguage>] [-MatchedNameSelectionMethod <Title | Department | Location | None | PromptForAlias | InheritFromDialPlan>] [-Name <String>] [-NameLookupEnabled <$true | $false>] [-OperatorExtension <String>] [-PilotIdentifierList <MultiValuedProperty>] [-SendVoiceMsgEnabled <$true | $false>] [-SpeechEnabled <$true | $false>] [-TimeZone <String>] [-TimeZoneName <UMTimeZone>] [-WhatIf [<SwitchParameter>]]

詳細描述

Set-UMAutoAttendant 指令程式可讓您變更或修改現有 UM 自動語音應答的設定。部分 UM 自動語音應答參數為必要參數,因此預設會自動建立。不過,建立 UM 自動語音應答之後,並非所有 UM 自動語音應答內容均為可寫入的內容。因此,除非刪除 UM 自動語音應答並建立新的 UM 自動語音應答,否則就無法變更或修改 UM 自動語音應答的某些值。

若要執行 Set-UMAutoAttendant 指令程式,必須對您使用的帳戶委派 Exchange 組織系統管理員角色。

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

參數

參數 必要項目 類型 描述

Identity

必要項目

Microsoft.Exchange.Configuration.Tasks.UMAutoAttendantIdParameter

此參數指定正在檢視之 UM 自動語音應答的識別碼。此參數為 UM 自動語音應答的目錄物件識別碼。

AfterHoursKeyMapping

選用

Microsoft.Exchange.Data.MultiValuedProperty

此參數會針對 UM 自動語音應答,指定下班時間所使用的按鍵對應。按鍵對應可定義為最多有 9 個項目之表格中的項目。0 鍵保留供轉接操作員之用。

有 2 個項目之自訂表格的範例為:

"Sales, 77899","Service, 78990"。

預設是 [已停用]。

AfterHoursKeyMappingEnabled

選用

System.Boolean

此參數會針對 UM 自動語音應答,指定要啟用還是停用下班時間的按鍵對應。按鍵對應可定義為最多有 9 個項目之表格中的項目。0 鍵保留供轉接操作員之用。

有 2 個項目之自訂表格的範例為:

"Sales, 77899","Service, 78990"。

AfterHoursMainMenuCustomPromptEnabled

選用

System.Boolean

此參數指定是否啟用下班時間自訂主功能表。預設是 [已停用]。

AfterHoursMainMenuCustomPromptFilename

選用

System.String

此參數指定下班時間自訂主功能表提示所使用的 .wav 檔。

AfterHoursTransferToOperatorEnabled

選用

System.Boolean

此參數指定是否允許在下班時間,將來電轉接至操作員的分機號碼。

AfterHoursWelcomeGreetingEnabled

選用

System.Boolean

此參數指定是否啟用下班時間問候語。若此參數設為停用,則會使用系統預設音訊。預設是 [已停用]。

AfterHoursWelcomeGreetingFilename

選用

System.String

此參數指定下班時間問候語訊息所使用的 .wav 檔。

AllowDialPlanSubscribers

選用

System.Boolean

此參數指定是否允許撥號對應表訂戶撥打解析至同一撥號對應表內之訂戶的號碼。預設是 $true

AllowedInCountryOrRegionGroups

選用

Microsoft.Exchange.Data.MultiValuedProperty

此參數指定允許之國內/地區撥號群組名稱的清單。名稱必須符合撥號對應表中定義的群組名稱。字串必須少於 128 個字元。

AllowedInternationalGroups

選用

Microsoft.Exchange.Data.MultiValuedProperty

此參數指定允許之國際撥號群組名稱的清單。名稱必須符合撥號對應表中定義的群組名稱。字串必須少於 128 個字元。

AllowExtensions

選用

System.Boolean

此參數指定是否允許來電者撥打與撥號對應表物件上所指定的號碼相同位數的分機號碼。預設是 $false

BusinessHoursKeyMapping

選用

Microsoft.Exchange.Data.MultiValuedProperty

此參數會針對 UM 自動語音應答,指定上班時間的按鍵對應。按鍵對應可定義為最多有 9 個項目之表格中的項目。0 鍵保留供轉接操作員之用。

有 2 個項目之自訂表格的範例為:

"Sales, 77899","Service, 78990"。

預設是 [已停用]。

BusinessHoursKeyMappingEnabled

選用

System.Boolean

此參數指定要啟用還是停用上班時間的自訂功能表。預設是 [已停用]。

BusinessHoursMainMenuCustomPromptEnabled

選用

System.Boolean

此參數指定是否啟用上班時間自訂主功能表提示。預設是 [已停用]。

BusinessHoursMainMenuCustomPromptFilename

選用

System.String

此參數指定上班時間自訂主功能表提示所使用的 .wav 檔。

BusinessHoursSchedule

選用

Microsoft.Exchange.Common.ScheduleInterval[]

此參數指定開始上班時間。

BusinessHoursTransferToOperatorEnabled

選用

System.Boolean

此參數指定是否允許在上班時間,將來電轉接至操作員的分機號碼。

BusinessHoursWelcomeGreetingEnabled

選用

System.Boolean

此參數指定是否啟用自訂上班時間問候語。若此參數設為停用,則會使用系統預設音訊。預設是 [已停用]。

BusinessHoursWelcomeGreetingFilename

選用

System.String

此參數指定歡迎訊息所使用的 .wav 檔。

CallSomeoneEnabled

選用

System.Boolean

此參數指定是否啟用呼叫某人功能。

Confirm

選用

System.Management.Automation.SwitchParameter

此參數會使得命令暫停處理,並要求您確認命令將進行的動作之後才會繼續處理。預設值為 $true。

ContactAddressList

選用

Microsoft.Exchange.Configuration.Tasks.AddressListIdParameter

此參數指定通訊清單的識別碼。如果 ContactScope 參數設為 AddressList,則會定義目錄搜尋的範圍。

ContactRecipientContainer

選用

Microsoft.Exchange.Configuration.Tasks.OrganizationalUnitIdParameter

此參數指定目錄搜尋所使用之容器的名稱或識別碼。

ContactScope

選用

Microsoft.Exchange.Data.Directory.SystemConfiguration.DialScopeEnum

此參數指定來電者存取 UM 自動語音應答並指定使用者名稱時,提供給來電者的目錄搜尋範圍。

DomainController

選用

Microsoft.Exchange.Data.Fqdn

此參數指定將組態變更寫入至 Active Directory 目錄服務之網域控制站的網域全名 (FQDN)。

DTMFFallbackAutoAttendant

選用

Microsoft.Exchange.Configuration.Tasks.UMAutoAttendantIdParameter

此參數指定當沒有已啟用語音功能的自動語音應答時,所要使用的雙音多頻 (DTMF) 自動語音應答。如果 SpeechEnabled 參數設為 $true,此自動語音應答就必須有相關的 DTMF 自動語音應答作為後援自動語音應答。

HolidaySchedule

選用

Microsoft.Exchange.Data.MultiValuedProperty

此參數指定組織的假日排程。此排程的格式為字串陣列。每行字串均包含三個部分:

  • 名稱 - 限制在 64 個字元內。
  • 假日日期。
  • 語音提示的檔案名稱。語音提示的格式為 .wma。

範例:

"Christmas, 12/25/2005, Christmas.wav"。

InfoAnnouncementEnabled

選用

Microsoft.Exchange.Data.Directory.SystemConfiguration.InfoAnnouncementEnabledEnum

此參數指定是否要啟用資訊性問候語。預設值是 $true

InfoAnnouncementFilename

選用

System.String

此參數指定語音總機所使用的 .wav 檔。

Instance

選用

Microsoft.Exchange.Data.Directory.SystemConfiguration.UMAutoAttendant

此參數指定 UM 自動語音應答物件輸入參數。如果未使用 Identity 參數,則需要此參數。

Language

選用

Microsoft.Exchange.Data.UMLanguage

此參數指定 UM 自動語音應答所使用的語言。此語言會從撥號對應表可用的語言清單中選取。

MatchedNameSelectionMethod

選用

Microsoft.Exchange.Data.Directory.SystemConfiguration.AutoAttendantDisambiguationFieldEnum

此參數指定的選項,會用來區別名稱符合撥號音或語音輸入的使用者。此設定可設為下列項目:

  • 部門
  • 職稱
  • 位置

  • 提示別名
  • 從 UM 撥號對應表繼承

Name

選用

System.String

此參數指定 UM 自動語音應答所使用的顯示名稱。此名稱限制在 64 個字元內。

NameLookupEnabled

選用

System.Boolean

此參數指定是否允許來電者透過撥號音或語音輸入名稱,來執行目錄查閱。此參數能預防來電者連接到未知的分機。

OperatorExtension

選用

System.String

此參數指定操作員的分機號碼。若未指定此參數,就會使用撥號對應表操作員。若未指定撥號對應表操作員,則不會啟用此功能。

PilotIdentifierList

選用

Microsoft.Exchange.Data.MultiValuedProperty

此參數指定一或多個整合通訊總機號碼。整合通訊總機號碼是用來將來電路由傳送至 Unified Messaging Server。然後由自動語音應答接聽來電。

SendVoiceMsgEnabled

選用

System.Boolean

此參數指定是否允許使用傳送郵件功能。

SpeechEnabled

選用

System.Boolean

此參數指定自動語音應答是否已啟用語音功能。自動語音應答的預設設定為 DTMF。

Timezone

選用

System.String

此參數指定自動語音應答所使用的時區。預設時區為伺服器上的時區設定。

TimeZoneName

選用

Microsoft.Exchange.Data.Directory.SystemConfiguration.UMTimeZone

此參數指定 Microsoft Windows 時區全部或部分的顯示名稱。此字串會與本機系統登錄中的顯示名稱比對,以判斷簡單的 "contains" 相符項目。如果字串不是唯一的,就會傳回錯誤。

WhatIf

選用

System.Management.Automation.SwitchParameter

此參數指示命令模擬它將對物件採取的動作。使用 WhatIf 參數,則不需要套用任何變更,就能檢視變更。預設值為 $true。

輸入類型

傳回類型

錯誤

錯誤 描述

 

 

例外狀況

例外狀況 描述

 

 

範例

第一個範例會將名為 MySpeechEnabledAA 的 UM 自動語音應答設定成退回 MyDTMFAA、將操作員分機設為 50100,並允許在下班後,將來電轉接至此分號號碼。

第二個範例會設定名為 MyAutoAttendant 的 UM 自動語音應答,其上班時間是設為上午 10:45 到下午 1:15 (星期日)、上午 9:00 到下午 5:00 (星期一) 及上午 9:00 到下午 4:30 (星期六),而假日時間及其關聯的問候語則設定為 2006 1 月 2 日 "New Years",2006 年 4 月 24 日到 28 日 "Building closed for construction"。

Set-UMAutoAttendant -Identity MySpeechEnabledAA -DTMFFallbackAutoAttendant MyDTMFAA -OperatorExtension 50100 -AfterHoursTransferToOperatorEnabled $true

Set-UMAutoAttendant -Identity MyUMAutoAttendant -BusinessHoursSchedule 0.10:45-0.13:15,1.09:00-1.17:00,6.09:00-6.16:30 -HolidaySchedule "New Year,newyrgrt.wav,1/2/2006","Building Closed for Construction,construction.wav,4/24/2006,4/28/2006"

若要確保您目前閱讀的是最新資訊,並尋找其他的 Exchange Server 2007 說明文件,請造訪 Exchange Server 技術資源中心.