Change company name for 1000 users in AD

Hi all,

So I have to make additions in the company name in my AD. But for 1000 users, I am not sure. I know there could be a powershell script for that ? Any ideas ?
LVL 3
Exchange UserSystems AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott CSenior EngineerCommented:
You would use the Set-ADUser command.

https://technet.microsoft.com/en-us/library/ee617215.aspx

Set-ADUser <user> -Company string

This page shows an example of a script to make bulk changes.

http://webactivedirectory.com/active-directory/simple-powershell-script-to-bulk-update-or-modify-active-directory-user-attributes/
0
FOXActive Directory/Exchange EngineerCommented:
To change all the users right-click powershell (run as administrator)
type      import-module activedirectory   (press enter)
type the below command or copy and paste it in your powershell
Get-ADuser -filter * -property company | set-aduser -company "Whateverthenameisnow"


*company name should be in quotes as above*
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.