Display should be First name + Last name

Hi Guys,

I have changed my last names to capitals and its not effecting in display name

I run the below script made the changes in AD lastnames

$targetUsers = Get-ADuser -SearchBase “OU=India,DC=study,DC=com” -Filter {Surname -Like “*”} | Select DistinguishedName, Surname
$targetUsers | foreach-object {

set-aduser $_ -Surname $_.surname.toupper()
}

now i want to change Display name as first + Last name.

Present Display Name is : kiran manne

So My Display name should be like = kiran MANNE

There is a DisplayName attribute, which you set with Set-ADUser. The actual object name can be updated with Rename-ADObject.