As Technet Gallery is retiring so moving the code to Git Hub. (click below github download link for this script)
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
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…