Update Active Directory User attributes from CSV

As Technet Gallery is retiring so moving the code to Git Hub. (click below github download link for this script)

Update Active Directory User attributes from CSV

 

This script will feed data from CSV file to Active directory user attributes.

I have included two scripts one will overwrite the existing data & other will only write if existing attributes are blank.

Prerequisites:- quest management tools should be installed.

CSV format:- This is attached along with the script.

Just extract the attached zip file & run the appropriate script.

for country & country codes use the right Names / codes

http://www.dovestones.com/country-codes-used-active-directory

set-executionpolicy unrestricted (in powershell, if its giving error that script is not signed or sign the script)

run the script as —-> PS D:\FeedAD> .\FeedAD-NOOverWrite.ps1 .\Users.csv

Pls rate the contribution if it worked for you.

download Quest Management Shell (its a free shell) –> http://www.quest.com/powershell/activeroles-server.aspx

 

Thanks for reading and downloading…

Tech Wizard

https://techwizard.cloud

https://syscloudpro.com/

PowerShell Cheat Book

 

3 thoughts on “Update Active Directory User attributes from CSV

  1. Pingback: Update Active Directory User attributes from CSV | Tech Wizard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s