We can find the domain name of a computer by running the following commnad from command line.
systeminfo | findstr /B /C:”Domain”
We can find the logged in user’s domain by using the environment variable ‘Userdomain’. Command for this is given below.
echo %userdomain%
{ 0 comments… add one now }