Common domain information collection command -AD (1)

ipconfig / all view of the machine of ip

net user view the local user list

net user / domain view domain users

How many domains exist net view / domain view network

net group / domain to see what domain groups

net group "domain admins" / domain view domain administrators group

net localgroup administrators / domain view domain administrator

net user username password / add / domain add the domain user

net localgroup administrators workgroup \ test123 / add Add the domain user (insufficient privileges is not added)

net group "domain controllers" / domain view all the domain controllers

net time / domain primary domain is determined, the main fields are generally do show the operation of such a time server

net view / domain queries the domain list

net view \\ ip ip of a shared inquiry

net view query sympatric machine

net accounts / domain query the domain password policy

whoami / all queries the user's permission

ping the domain name to obtain domain server ip

nbtstat -a acquired the domain name server domain ip

dsquery computer to view domain computer

dsquery contact Check domain contacts

dsquery group view domain users group

dsquery user to view domain users

dsquery subnet view divided segment

dsquery server show all domain controllers

dsquery subnet view domain subnet

 
> shutdown -i [in the manner specified graphical interface to remotely shut down the computer]
> gpresult [View your computer which policies are implemented from the domain controller of]
> gpupdate / Force [update the client group policy without waiting for restart]
> Wuauclt.exe / detectnow [instructed to automatically update contact the WSUS server immediately]
> [Domain Name and the IP address of the DNS query system used] nslookup <domain name>
> Sysprep / generalize [for Windows image is moved to another computer, information unique to reset Windows installation (e.g., the SID)]

 

Guess you like

Origin www.cnblogs.com/hoiart/p/11432669.html