iamuser
asked on
Script to auto populate AD field
My managers are now looking to implement employee ID codes for all staff. Problem is that we have to do it for all existing and new staff. We have about 500 user accounts, doing it manually would be a nightmare. Is there a away for me to script something that would take an excel file containing account name + code and have the system automatically input the code into the correct AD account?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can map display name \ full name attribute with employee id
sAMAccountName is unique in AD, thats why I suggested you.
Anyways, i suggest you to export the user list from AD, and send it to HR in a format you want and ask them to fill up with Employee IDs
Bacause either you OR HR, somebody needs to do this mapping anyhow.
Hope that helps
sAMAccountName is unique in AD, thats why I suggested you.
Anyways, i suggest you to export the user list from AD, and send it to HR in a format you want and ask them to fill up with Employee IDs
Bacause either you OR HR, somebody needs to do this mapping anyhow.
Hope that helps
ASKER
As far as I know looking at AD all users (knock on wood) have unique names
John
John
ASKER
Very true on that Mahesh
ASKER
Thanks, great advice
ASKER