How to find user Full name without username in CMD?
I tried this, net user /domain | find "user1"
it only finds the username.
How can I search by full name?
+3
Vicheanak
source
to share
2 answers
Use dsquery
instead net user
if you want to search by name. net user
not suitable for this kind of request:
dsquery user -name "joe average"
This command is part of Remote Server Administration Tools (RSAT).
If you already have a username and want more information about the user, you can directly use the username with net user
:
net user user1 /domain
+5
Ansgar wiechers
source
to share
net user "% USERNAME%" / domain | FIND / I "Full Name"
+2
Kevin still
source
to share