Import and export custom greetings, announcements, menus, and prompts in Exchange Server

Applies to: Exchange Server 2013, Exchange Server 2016

You can import and export the audio files that you've recorded to use on Unified Messaging (UM) dial plans and auto attendants. For example, you might want to export and save a copy of an audio file if you're upgrading from a previous version of Exchange. Or, you might need to import a copy of a recorded audio prompt before configuring a dial plan or auto attendant.

The audio files are used for the following purposes:

  • On UM dial plans, audio files are used for customized welcome greetings and informational announcements. They're played when Outlook Voice Access users call in to an Outlook Voice Access number.

  • On UM auto attendants, audio files are used for customized non-business and business hours greetings, informational announcements, menu prompts, and navigation menus. They're played when callers call in to a UM auto attendant.

The following audio file formats are supported for custom greetings, announcements, menus, and prompts:

  • .wma files encoded with Windows Media Audio 9.2 - 96 kbps/44 kHz/stereo 1-pass CBR (Windows Sound Recorder)

  • Windows Media Audio Voice 9 - 8 kbps/8 kHz/Mono, and .wav files encoded with the Linear PCM (16 bit/sample), 8 kilohertz (kHz) audio codec

You import the audio files that are used by UM dial plans and auto attendants into the system mailbox named {e0dc1c29-89c3-4034-b678-e6c29d823ed9} and export the audio files from this system mailbox. The audio files can be imported and exported by using the Import-UMPrompt and Export-UMPrompt cmdlets.

For additional management tasks related to UM dial plans, see UM dial plan procedures.

For additional management tasks related to UM auto attendants, see UM auto attendant procedures.

What do you need to know before you begin?

  • Estimated time to complete: 3 minutes.

  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "UM dial plans" and "UM auto attendants" entries in the Unified Messaging permissions topic.

  • Before you perform these procedures, confirm that a UM dial plan has been created. For detailed steps, see Create a UM dial plan.

  • Before you perform these procedures, confirm that a UM auto attendant has been created. For detailed steps, see Create a UM auto attendant.

  • You can only use the Shell to perform this procedure.

  • For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

Tip

Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server.

Use the Shell to import custom greetings, announcements, menus, and prompts for UM dial plans and auto attendants

This example imports the welcome greeting file named 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 named 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

Use the Shell to export custom greetings, announcements, menus, and prompts from UM dial plans and auto attendants

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

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

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

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