How to set change UM extension in E2010 EMS?
Originally posted here:
http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/69f1fc11-ea5f-4f61-8243-d47f54622dc8
and re-posted to the Admin forum for Premier support consideration.
Basically I have a need to script changing the primary UM extension for a UM enabled mailbox when the user's phone number changes. I had a nice little app set up (using PowerGUI) for the folks that manage the phone system to make these changes under
2007.
Now, we're converting to 2010 and I need to get that same functionality working for the migrated users.
I've tried diffent methods of scripting the update of the UM extensions, both by changing the existing UM proxyaddress, and by removing it and adding a new one, using the examples given in the online documentation. Neither method will change
the primary address.
I can get it to change by disabling and re-enabling it in the EMS that installed with Exchange 2010, but not in a generic PS session with the Exchange Management modules imported. Everything else I've tried in that environment works, except for enabling
or disabling a UM mailbox.
Can anyone shed some light on why this doesn't work?[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
June 13th, 2010 1:35am
I can reproduce the same symptom in my lab (E14 RTM on win2k8 SP2) by using TechNet article
The output is always: “WARNING: The command completed successfully but no settings of ‘14RTM.com/OU/User1’ have been modified.”
The issue has been reported for investigation. I’ll keep posting at here if there’s any update about itJames Luo
TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
June 17th, 2010 5:02am
Thank you.[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
June 17th, 2010 5:37am
Any updates?[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2010 3:30pm
Sorry for the delay, please use the example below to change the UM extension:
$mbx = Get-Mailbox tony.smith
$mbx.EmailAddresses.Item(0) ="eum:22222;phone-context=MyDialPlan.contoso.com"
Set-Mailbox tony.smith -EmailAddresses $mbx.EmailAddressesJames Luo
TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
If you have any feedback on our support, please contact tngfb@microsoft.com
July 1st, 2010 12:20pm