We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

find and replace for Active Directory?

defecta
defecta asked
on
Medium Priority
517 Views
Last Modified: 2012-05-11
Hi folks,

I need to find everyone in a certain department and change the name of that department easily.

Is there a way to do this? Easily?

(If the only solution is a VBscript I will need a bit of hand holding so I can follow and be confident that I'm not going to break something. :) )

Thanks.
Comment
Watch Question

JamesSenior Cloud Infrastructure Engineer
CERTIFIED EXPERT

Commented:
This link here that I have provided should do the trick and it will output the information in a excel sheet. There is an explaination of what the script does, so make sure to read this.

http://gallery.technet.microsoft.com/scriptcenter/d5c6b119-0337-4b5d-93f3-c409c6cf7a45

Commented:
Account Management Spreadsheet should be able to do what you want.  You can load AD objects by OU, edit the propeties in Excel how ever you want, and then export back.  Unbelievably handy program.

http://www.wisesoft.co.uk/software/account_management_spreadsheet/default.aspx
CERTIFIED EXPERT
Top Expert 2013
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
CERTIFIED EXPERT

Commented:
Building on Mklines suggestions of using the ldap filter I would reccomend the DS series of tools.

dsquery * -filter "(&(objectcategory=person)(objectclass=user)(department=dept1))" | dsmod user -dept dept2


You can run this command from any computer with Active directory users and computers installed.

Author

Commented:
Fantastic detail and throughness! :D
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.