# Discover domain controller:
echo %LOGONSERVER%
# Display Users:
dsquery user -limit 0 | dsget user -display -dept -title
Categories:
# Discover domain controller:
echo %LOGONSERVER%
# Display Users:
dsquery user -limit 0 | dsget user -display -dept -title