dmillerpps
asked on
Active Directory Account Edit
I'm currently in need of a script that will read a .csv or excel file, take information from column 4(EmployeeNumber) query active directory for the user who has that employeeNumber and then take the number from column 3 (ID) and enter it into that employee's extensionAttribute14 in Active Directory
I would suggest a script that modifies AD using secure LDAP. But it will not be easy and mistakes could jack your active directory installation. Our firm does that sort of work but it would most definitely be fee based.
Ok so working on this but so far this will do it for a single user. This uses the quest powershell cmdlets and using specific variables.
get-qaduser -oa @{employeeID='6474'} | set-qaduser -oa @{extensionAttribute14='25 25'}
Still playing around trying to get this into a script form for you.
get-qaduser -oa @{employeeID='6474'} | set-qaduser -oa @{extensionAttribute14='25
Still playing around trying to get this into a script form for you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.