Monday, March 2, 2015

10 Commands Every Windows Server Administrator Must Know

1. To list all the FSMO role holders in your forest, run this command:
      netdom query fsmo
2. To refresh group policy settings, run this command:
             gpupdate
3. To check Active Directory replication on a domain controller, run this command:

                repadmin /replsummary
4. To force replication from a domain controller without having to go through to Active Directory Sites and Services, run this command:
     repadmin /syncall
5. To see what server authenticated you (or if you logged on with cached credentials) you can run either of these commands:
     set l
     echo %logonserver%
8. To see what account you are logged on as, run this command:
     whoami
6. To see the domain account policy (password requirements, lockout thresholds, etc) run this command:
     net accounts
     Windows Networking
7. To quickly reset your NIC back to DHCP with no manual settings, run this command:
     netsh int ip reset all
8. To quickly generate a text summary of your system, run this command:
    systeminfo | more
9. To see all network connections your client has open, run this command:
    net use
10. To see your routing table, run either of these commands:
     route print
     netstat -r



No comments: