Is there any script command or any other method to transfer username’s from sAMAccountName to user-principal-Name ?.

Feb 1 2012 9:58 AM
 

Hi All,

 Please if anyone can suggest me how can I move the Username from sAMAccountName field to user-Principal-Name field in active directory.

 I have created more than 1000 of user in active directory and used sAMAccountName field for Username but due to sAMAccountName length 20 characters restriction.

I want to use user-Principal-Name as Username.

Is there any   script command or any other method to transfer username's from sAMAccountName to user-principal-Name ?.

Thanks in Advance.