Domain
WINDOWS
LOL
Display the domain name
echo %USERDOMAIN%Prints out the name of the Domain controller the host checks in with
echo %logonserver%Get Domain Info
PS C:\> Get-ADDomainComputer Search
PS C:\> dsquery computer
PS C:\> dsquery * "CN=Users,DC=MILITECH,DC=LOCAL" # Wildcard searchNET
NETnet accounts # Information about password requirements
net accounts /domain # Password and lockout policy
net view /domain # List of PCs in the domainLast updated