Partager via


Rechercher la version actuelle du schéma Active Directory

Un schéma Active Directory (AD) est un ensemble de règles qui définit les types de classes d’objets que vous pouvez créer dans une forêt AD. Pour plus d’informations, consultez le schéma Active Directory (AD DS).

Cet article vous guide à travers les étapes pour identifier la version de schéma et la version de schéma Exchange Services que votre forêt utilise.

Prerequisites

Pour effectuer les tâches décrites dans cet article, votre environnement doit répondre aux exigences suivantes :

  • Votre ordinateur doit exécuter Microsoft Exchange Server 2016 ou version ultérieure.
  • Vous devez installer le rôle Ad DS (Active Directory Domain Services). Pour en savoir plus, consultez Installer ou désinstaller des rôles, des services de rôle ou des fonctionnalités.
  • Le serveur doit être un contrôleur de domaine (DC).
  • Les utilisateurs doivent faire partie des groupes Administrateurs de domaine ou Administrateurs d’entreprise.

Recherche de la version du schéma

Pour trouver la version actuelle du schéma Active Directory :

Note

The internal root domain that we use in this demo is contoso.local. Vous devez modifier le champ DC= pour qu’il corresponde à la configuration AD dans votre propre environnement.

Selon votre configuration, vous devrez peut-être également importer le module AD PowerShell en exécutant la Import-Module ActiveDirectory commande avant de commencer à exécuter des applets de commande AD.

  1. Open the Start menu.

  2. Enter ADSIEdit.msc, then select Enter to open ADSI Edit.

  3. In the pane on the left side of the window, right-click on ADSI Edit, then select Connect to.

  4. In the Connection Settings window under Select a well known Naming Context, select Schema, then select OK.

  5. Dans le volet situé sur le côté gauche de la fenêtre, développez le schéma de votre DC.

  6. Right-click on CN=Schema,CN=Configuration,DC=contoso,DC=local, then select Properties.

  7. In the Attribute list, scroll down until you find the objectvVersion attribute. La valeur est la version du schéma.

Lorsque vous avez terminé, utilisez la table présentée dans la section Mappage de l’attribut objectVersion pour trouver la version du système d’exploitation correspondant à votre numéro de version.

Mappage de l’attribut objectVersion

The following table maps the number shown in the objectVersion attribute value with its corresponding OS version:

Version Operating system
91 Windows Server 2025
88 Windows Server 2022
88 Windows Server 2019
87 Windows Server 2016
69 Windows Server 2012 R2
56 Windows Server 2012
47 Windows Server 2008 R2
44 Windows Server 2008 RTM
31 Windows Server 2003 R2
30 Windows Server 2003 RTM, Windows 2003 Service Pack 1, Windows 2003 Service Pack 2

Rechercher la version actuelle du schéma Exchange

Pour trouver la version actuelle du schéma Exchange, vous pouvez utiliser l’une des méthodes suivantes :

  1. Open the Start menu.

  2. Enter ADSIEdit.msc, then select Enter to open ADSI Edit.

  3. In the pane on the left side of the window, right-click on ADSI Edit, then select Connect to.

  4. In the Connection Settings window under Select a well known Naming Context, select Schema, then select OK.

  5. Dans le volet situé sur le côté gauche de la fenêtre, développez le schéma de votre DC.

  6. Select CN=Schema,CN=Configuration,DC=contoso,DC=local.

  7. In the pane in the center of the window, scroll down the Name list and open CN=ms-Exch-Schema-Version-Pt.

  8. In the Attribute list, scroll down until you find the rangeUpper attribute. La valeur est la version du schéma.

Lorsque vous avez terminé, utilisez les informations dans le document « Mappage de l’attribut rangeUpper » pour déterminer quelle version du schéma Exchange correspond à votre valeur d’attribut.

Mappage de l’attribut rangeUpper

The following articles show how to map the rangeUpper attribute value with its corresponding Exchange Schema version: