Recently I had an occasion to use the MigrationUMCustomPrompt.ps1 script that ships with EUM 2010 SP1. This script is tremendous as it requires no interaction or variables to be set. It took less than 5 minutes to migrate over 70 custom UM prompts from EUM 2007 SP2 to EUM 2010 SP1. This script is only supported when migrating to EUM 2010 SP1.
Move custom Auto Attendant prompts (EUM 2010 SP1)
Use the MigrateUMCustomPrompts.ps1 script to migrate a copy of all 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.
For more information about syntax and parameters, see Import-UMPrompt.