What NET command shows you the DC you logged into?

This is driving me absolutely crazy.  I have been searching on the web and cannot find the command.

Thanks!
scottvinAsked:
Who is Participating?
 
oBdACommented:
You'll find the authenticating server in the environment variable %logonserver%, so you don't need a net command. A simple
echo %logonserver%
or
set l
will do the trick.
0
 
scottvinAuthor Commented:
argh... no wonder why I wasn't finidng a "net" command... thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.