Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Active-Directory, modify CN

$
0
0

Hey guys,
I have to change the CN of ~200 users in the AD and now I wondered if there is any faster possibility to do it with powershell.
I used google already but it’s not helpfull and I’m too powershell new to scipt it myself.
What I try to achieve:
That PS takes the Pre- and Surname from this:
http://imgur.com/a/egF6z

And forms the CN always in this way: <Surname>, <Prename> Like this: http://imgur.com/a/r3iqE

Has anyone a handy script?
Thanks!

submitted by /u/Senorragequit
[link] [comments]

The post Active-Directory, modify CN appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles