Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Exchange 2003 Aliases

Status
Not open for further replies.

JPJeffery

Technical User
May 26, 2006
600
GB
In our domain of about 120 users we have a significant number of accounts with malformed aliases.

e.g. instead of John Doe getting 'Doe_J' it might be 'John Doe', or 'J Doe', or perhaps even 'DoeJ'.

The challenge is this. Would it be quicker to check through them manually, or to write a script to do it? I reckon do it manually...(particularly if we want to test it first!)

JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, and so on)[/small]
 
I am guessing that by malformed you mean it should match something like the username and they dont? If so, then a script is the way to go and it is quite an easy script to complete.
 
Well, I mean our standard (now scripted so not a problem in the future) is for the alias to be made up of

<surname>_<first_letter_of_first_name)

(which happens to match our account naming standard) but a lot of previously, and manually, created accounts have aliases which don't match that standard.

JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, and so on)[/small]
 
Well that would be easy to do. Read AD, then set the value if it does not match your logic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top