Change tittle of all users in an Active Directory group

Posted on 2014-03-12
Last Modified: 2014-03-13

I am striking out with the Set-ADGroup option if that is the correct one to use.

I want to change the tittle of all AD users of a certain AD group .

Ex .. Change tittle to  "New Tittle" for all members of Group1
Question by:MilesLogan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 14

Expert Comment

by:Justin Yeung
ID: 39924691
do you mean the job title? if so

#run this to make sure it got the groups that you want to make changes before place into #the script

get-adgroup -filter * -searchbase "the OU" | ? {$ -like " something"}

Script start here
#search for the groups that you want to make changes
$groups = get-adgroup -filter * -searchbase "the OU" | ? {$ -like " something"}
foreach ($Group in $groups)
#get the group (each group of the searched and set the user title to "your title"
get-adgroupmember -id $ | set-aduser -title "your title"
LVL 40

Accepted Solution

Subsun earned 300 total points
ID: 39924800
If you are trying to work on single group then following code should work...
Get-ADGroupMember Group1 | ?{$_.objectClass -EQ "User"} | Set-ADUser -Title "New Tittle"

Open in new window

LVL 14

Assisted Solution

by:Justin Yeung
Justin Yeung earned 200 total points
ID: 39925339
he needs to do more than 1 group.............

you can also place your group name to a txt or cvs file

and do the import

$groups = get-content "path.txt"

foreach ($Group in $groups)
#get the group (each group of the searched and set the user title to "your title"
get-adgroupmember -id $group| set-aduser -title "your title"

Author Closing Comment

ID: 39927077
Thank you guys !!

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question