Monday , April 23 2018

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

Installation can’t proceed until all Exchange 2003 Servers are removed

Had to extend schema before installing Exchange 2016 on a Exchange 2010 Server environment. Eventually ...

2 comments

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

  2. Thanks Kottees

Leave a Reply

Your email address will not be published.