Can you do this Exchnage 2003?
Hi all, Exhcnage 2003 SP2 I need to update users' primary email address with %1g.%s@xyz.com But, users' firstnanme and lastname's first letters are Cap. AGates@xyz.com I want to make them all lower case. Is it possible? Thank you.
August 16th, 2010 5:50am

You should be able to do it using a replace function in the policy. I would test this first by scoping down to a couple of test objects but this should do it for you. %rAa%rBb%rCc%rDd%rEe%rFf%rGg%rHh%rIi%rJj%rKk%rLl%rMm%rNn%rOo%rPp%rQq%rRr%rSs%rTt%rUu%rVv%rWw%rXx%rYy%rZz%1g.%s@domain.com will convert the whole thing to lower case. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. If the post wasn't the exact answer or was helpful in leading you to the answer, please vote it as helpful. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2010 9:32am

Thank you. I can not see the script. Can you re-send it? Thanks
August 16th, 2010 2:40pm

Sure here it is.This is what you will put in the reipient policy line. the %r is replace. So it is going through each uppercase character and replacing with it lowercase version. %rAa%rBb%rCc%rDd%rEe%rFf%rGg%rHh%rIi%rJj%rKk%rLl%rMm%rNn%rOo%rPp%rQq%rRr%rSs%rTt%rUu%rVv%rWw%rXx%rYy%rZz%1g.%s@domain.comPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. If the post wasn't the exact answer or was helpful in leading you to the answer, please vote it as helpful. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2010 4:18pm

Hi Scott, Thank you for the help. Unfortunately, I have the policy as %1g.%s@xyz.com alreay and eveyone has AGates@xyz.com format now. If I edit the policy with your format, will users email address be changed to agates@xyz.com Thank you.
August 16th, 2010 6:48pm

The string i sent should work as i am just doing a replace in front of the normal %1g.%s Have you tried it on a few users to see the results. You could set it wo be active on a user with a value of like test in customattribute15 and then put that attribute on a few users to try it out. The string broken down: Replace caps with lower case: %rAa%rBb%rCc%rDd%rEe%rFf%rGg%rHh%rIi%rJj%rKk%rLl%rMm%rNn%rOo%rPp%rQq%rRr%rSs%rTt%rUu%rVv%rWw%rXx%rYy%rZz Get First initial of first name: %1g Add Period: . Add last name: %s Add Domain: @domain.com All together: %rAa%rBb%rCc%rDd%rEe%rFf%rGg%rHh%rIi%rJj%rKk%rLl%rMm%rNn%rOo%rPp%rQq%rRr%rSs%rTt%rUu%rVv%rWw%rXx%rYy%rZz%1g.%s@domain.comPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. If the post wasn't the exact answer or was helpful in leading you to the answer, please vote it as helpful. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
August 16th, 2010 7:55pm

Hi Scott, I applied the policy and it works fine for the new users. It can not change the exisitng users (ex: AGates@xyz.com) to agates@xyz.com Do you know whether I can make existing users to have all lower case? Thank you very much.
August 17th, 2010 7:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics