Sunday , June 25 2017

10 Useful Basic commands which make life easy for Troubleshooters

1 . To find User Logged in to which domain ?

Set u

image

Running “Set”

Gives all the basic information

2 . To find user resides in which Active Directory Site ?

nltest /dsgetsite

image

3 . To find which DC is Domain Joined system in binding to ?

nslookup

image

4 . To find how many DC’s the Environment has ?

netdom query dc

image

5 . To find where the FSMO roles are ?

netdom query fsmo

image

6 . To Sync all the available Domain Controllers  to the Current DC  ?

(To be run on DC)

repadmin /sycall /Aped

image

7.  To Find DC connectivity is healthy from the Domain Joined Machine ?

dcdiag /s:”DC FQDN”

image

8. To find the Computer name ?

hostname

image

9. To find which are the ports are listening ?

netstat -an | find /i "listening"

image

10 .  To Find the Statistics of the LAN and the Route Table ?

Netstat -Reports

image

To Replicate DNS

dnscmd ny-dc1 /zonerefresh test.contoso.com

To Move Cluster Group

Cluster Group “Cluster Group”/MOVETO:ServerName

Hope its a Useful Blog to have this Commands Handy in One place

 

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Exchange Server MVP , Publisher of CareExchange.in Supporting/Deploying/Designing Microsoft Exchange for some years. Extensive experience on Microsoft Technologies.

Check Also

SCCM Updates and Services Keep Downloading

Log Files Location – C:\Program Files\Microsoft Configuration Manager\Logs\dmpdownloader.log — Logs –  Failed to call Initialize. ...

2 comments

  1. yes though easy at the moment will not remember. its good to have in single place. thank you.

Leave a Reply

Your email address will not be published.