Find DC creation date

To find the creation date of the Domain Controllers in your Active Directory, use the following command:

dsquery * “cn=Sites,cn=Configuration,dc=MyDomain,dc=com” -Filter “(cn=NTDS Settings)” -attr distinguishedName whenCreated

Leave a Reply

Your email address will not be published.