active directory - Powershell Search for AD Users -


i learning powershell , use adding users ad groups. know if possible search ad usernames using persons common name (i.e. john doe = jdoe). time consuming , defeats purpose of using powershell if have use ad users , computers uid every time.

update: tried get-aduser -filter { cn -eq 'john doe' } , get-aduser -filter { name -eq 'john doe' } command , did not receive output console, went next line.

i have rsat installed, clarify. have looked @ technet article on ms' page get-aduser try , figure out before posted op.

just clarify looking search common name find user's login name. i.e. searching 'john doe' find 'jdoe' user logon name.

yes. need install rsat. see here instructions various windows versions.

then use get-aduser:

get-aduser -filter { cn -eq "common name" } 

Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -