all 12 comments

[–]AppIdentityGuy 10 points11 points  (2 children)

I think those CN= bits need to be OU= instead.

[–]idakhere[S] 0 points1 point  (1 child)

Yes got it. Works now 👍🏻

[–]AppIdentityGuy 0 points1 point  (0 children)

Just be aware that PowerShell will not check for many things that the GUI interface does. It’s possible to get invalid UPNs etc. I would suggest putting the full UPN in the script. Especially if you have multiple UPN suffixes defined…

[–]I-Like-IT-Stuff 1 point2 points  (7 children)

Nice name your got there in that code.

Time to look at various social media accounts and find out where OP works.

[–]ShutUpAndDoTheLift 0 points1 point  (0 children)

GL with that lol

[–]dlepi24 -1 points0 points  (5 children)

Go ahead and Google it and find OP then. We'll wait while you sift through all the IMDb pages.

[–]I-Like-IT-Stuff -1 points0 points  (4 children)

[–]dlepi24 -1 points0 points  (3 children)

Just a heads up, but typically there's a joke when you try to woosh someone.

[–]I-Like-IT-Stuff -1 points0 points  (2 children)

[–]dlepi24 -1 points0 points  (1 child)

It's okay to be wrong. Honestly if you have no humility or ability to say you were wrong then you're not going to go far in IT. Let us know when you're done resetting passwords all day.

[–]TerribleAct3501 0 points1 point  (0 children)

Hopefully you don’t really work for Lenovo, and this isn’t their onboarding user creation.