Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Display should be First name + Last name

$
0
0

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.

So My Display name should be like = kiran MANNE



Ram


Viewing all articles
Browse latest Browse all 31638

Trending Articles