dsquery * cn=schema,cn=configuration,dc=votredomaine,dc=local -scope base -attr objectVersionEn prenant soit de remplacer votredomaine et local par le nom FQDN de votre domaine. Exemple pour un domaine testlab.com il faut taper la commande:
dsquery * cn=schema,cn=configuration,dc=testlab,dc=com -scope base -attr objectVersionOn obtient alors un résultat sous la forme suivante
C:>dsquery * cn=schema,cn=configuration,dc=testlab,dc=com -scope base -attr objectVersion objectVersion 31Dans ce cas la version du schéma utilisée est la version 31 Les versions de schéma sont identifiées comme suit:
13 -> Windows 2000 Server 30 -> Windows Server 2003 RTM, Windows 2003 With Service Pack 1, Windows 2003 With Service Pack 2 31 -> Windows Server 2003 R2 44 -> Windows Server 2008 RTM
📖 Retrouve tous nos tutoriels Windows, sécurité et PowerShell dans notre Guide Windows, IT & Sécurité 2026.