Share via


Import and Export Custom Prompts for Unified Messaging

 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

You can import custom prompts into a system mailbox or export custom prompts from system mailboxes that are used with Unified Messaging (UM) dial plans and auto attendants in Microsoft Exchange Server 2010. Custom prompts are audio files used by Unified Messaging and include the following:

  • UM dial plans: Customized welcome greetings and informational announcements.

  • UM auto attendants: Customized after hours welcome greetings and menus, informational announcements, business hours and non-business hours welcome greetings and menus, and key mappings.

Custom prompts can be imported and exported by using the new cmdlet Import-UMPrompt and Export-UMPrompt cmdlets. The Microsoft Exchange Server 2007 Unified Messaging cmdlet Copy-UMCustomPrompt isn't supported in Exchange 2010 Unified Messaging for copying custom prompts.

Looking for other management tasks related to UM dial plans? Check out Managing UM Dial Plans.

Looking for other management tasks related to UM auto attendants? Check out Managing UM Auto Attendants.

Prerequisites

Use the Shell to import custom prompts for UM dial plans and auto attendants

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "UM prompts" entry in the Unified Messaging Permissions topic.

This example imports the welcome greeting file welcomegreeting.wav from d:\UMPrompts into the UM dial plan MyUMDialPlan.

[byte[]]$c = Get-content -Path "d:\UMPrompts\welcomegreeting.wav" -Encoding Byte -ReadCount 0
Import-UMPrompt -UMDialPlan MyUMDialPlan -PromptFileName "welcomegreeting.wav" -PromptFileData $c

This example imports the welcome greeting file welcomegreeting.wav from d:\UMPrompts into the UM auto attendant MyUMAutoAttendant.

[byte[]]$c = Get-content -Path "d:\UMPrompts\welcomegreeting.wav" -Encoding Byte -ReadCount 0
Import-UMPrompt -UMAutoAttendant MyUMAutoAttendant -PromptFileName "welcomegreeting.wav" -PromptFileData $c

For more information about syntax and parameters, see Import-UMPrompt.

Use the Shell to export custom prompts from UM dial plans and auto attendants

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "UM prompts" entry in the Unified Messaging Permissions topic.

This example exports the welcome greeting for the UM dial plan MyUMDialPlan and saves it as the file welcomegreeting.mp3.

$prompt = Export-UMPrompt -PromptFileName "customgreeting.mp3" -UMDialPlan MyUMDialPlan
set-content -Path "d:\DialPlanPrompts\welcomegreeting.mp3" -Value $prompt.AudioData -Encoding Byte

This example exports the business hours welcome greeting used for the UM auto attendant MYUMAutoAttendant and saves it as the file BusinessHoursWelcomeGreeting.mp3.

$prompt = Export-UMPrompt -BusinessHoursWelcomeGreeting -UMAutoAttendant MyUMAutoAttendant
set-content -Path "d:\UMPrompts\BusinessHoursWelcomeGreeting.mp3" -Value $prompt.AudioData -Encoding Byte

For more information about syntax and parameters, see Export-UMPrompt.

Other Tasks

After you import and export custom prompts for UM dial plans and auto attendants, you may also want to:

 © 2010 Microsoft Corporation. All rights reserved.