Avatar of Pavan Joshi
Pavan Joshi
 asked on

Change of Name in Active Directory and Exchange on premises through Powershell

Hi Friends,

I need a script to perform below tasks for one user using a CSV:

1. Change First Name, Last Name, Display Name (Name, Display) Format
2. Change Email address in Active Directory
3. Access exchange server and change Primary SMTP and add another additional alias

Can any one help me writing a script for this.. If any info needed I can provide. Please help me on this task as it will help us greatly.

PJ
ExchangeActive DirectoryPowershell

Avatar of undefined
Last Comment
Pavan Joshi

8/22/2022 - Mon
Leo

Try the script link I have pasted below, there are two scripts one will overwrite the existing data & other will only write if existing attributes are blank.

Prerequisites:- quest management tools should be installed.

https://gallery.technet.microsoft.com/scriptcenter/Feeding-data-to-Active-0227d15c
ASKER CERTIFIED SOLUTION
Will Szymkowski

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Pavan Joshi

ASKER
I've requested that this question be deleted for the following reason:

I got the answer
Will Szymkowski

All that work and your clsoing the question, with no explaination? I have tested my script and it does exactly what you asked.

Will.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Leo

@Pavan, please share the solution which you have found.....
Pavan Joshi

ASKER
Thank you so much and appreciate your quick response for every question of mine in the  forum. It's been a pleasure working with you. Your encouragement comes as a gift rather than an option. Thanks again.