Posts

Showing posts with the label active-directory

How to edit only the Firstname (givenName) of multiple users and import with csv

Image
Clash Royale CLAN TAG #URR8PPP How to edit only the Firstname (givenName) of multiple users and import with csv If I have a list of users where the samAccountName for all the users are all numerical Example, 745744, 745746, etc…. I was looking for a powershell script that could accomplish the following: Is having only one column in excel with the samAccountName sufficient for the csv, or do i need to also have all of the users givenName as well inside of the csv?? Example column A samAccountName, column B Firstname?? Example givenName is, JOAQUIN, I would need the first name to be XXJOAQUIN. I have about 500 users that I would have to do this for, and we are doing it manually right now, So the only thing that I need changed is adding the “XX” before the users givenNames…. Thanks everyone in advance. 3 Answers 3 If your CSV file just contains a header with the samAccountName followed by the samAccou...