Update User Profile in AD
Posted on 2010-09-20
We have Windows 2003 Active Directory Infrastructure.
The Helpdesk or to say the ID management team creates / updates user accounts.
The issue with what they are doing or to say how they are doing is that it is causing following issues:
1) When a name change is done for a user, as per the exchange policy the SMTP address also gets updated. However, the email address field in the General tab does not gets updated with the information of Primary SMTP address. With this missing information, the Officle address book does not gets updated and we see such enteirs in OALGen logs:
OALGen will skip user entry 'Michael Griffin' in address list '\Global Address List' because the SMTP address '' is invalid.
I am looking for a script which can be executed to update the Primary SMTP address in the email field of the General Tab for the User account properties.
2) When the helpdesk is creating the account, they are not updating the user display name properly and leave user full Name as their acocunt name. So when I look up for an individual say fo rexample Michael Griffin, i will get the result as "GriffinMi" which is the LAN account name. I want the display names of the users to be reflected correctly in AD.
I am looking for a script which can go and update user Full Name as their Display name in AD.
Please suggest and help