How to find out when a server was promoted to Domain Controller


How to find out when a server was promoted to Domain Controller

When a server is promoted to DC, an "NTDS Settings" object for the server is created in the configuration container of AD.

This object has a whenCreated attribute. It's possible to view it through the cmd below:

dsquery * "cn=Sites,cn=Configuration,dc=contoso,dc=com" -Filter "(cn=NTDS Settings)" -attr distinguishedName whenCreated



Comentários