Change tittle of all users in an Active Directory group

Posted on 2014-03-12
Medium Priority
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" | ? {$_.name -like " something"}

Script start here
#search for the groups that you want to make changes
$groups = get-adgroup -filter * -searchbase "the OU" | ? {$_.name -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 $group.name | set-aduser -title "your title"
LVL 40

Accepted Solution

Subsun earned 1200 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 800 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Suggested Courses
Course of the Month13 days, 20 hours left to enroll

800 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