Command to give details about dcname, dnshostname, adsite & originatingserver

Get-DomainController | fl name,dnshostname,adsite,originatingserver

Output :

DC name ExchtechAD.COM
Dnshostname dc1. ExchtechAD.com
Adsite  ExchtechAD.com/configuration/Sties/India
Originatingserver dc1. ExchtechAD.com

if you have multiple Domain controller it will give you all with above details.

 

thanks

Leave a Reply

Your email address will not be published. Required fields are marked *