Quest Powershell to change user's displayName
Posted on 2010-03-30
I accidentally added a good number of users with their displayName containing a '.' between their first and last name (mirrors the sAMAccountName).
I would like to user Quest's Powershell to correct this issue. I can get the list of users from the OU and single out the ones with the '.', but I am at a loss as to how to get that attribute out, strip the '.' and set the new displayName on the user object. I was thinking it could have been a simple pipeline, but it's not working out for me.
Can someone help me with this?