Topic Last Modified: 2010-07-16
Use the Install-CsAdServerSchema cmdlet to extend the Active Directory schema. After schema preparation is complete, manually verify that the schema partition has been replicated before proceeding to forest preparation.
To use cmdlets to prepare the schema of the current forest
-
Log on to a computer in the forest as a member of the Schema Admins group and with Administrator rights on the schema master.
-
Open the Communications Server Management Shell console, and then run:
Copy Code Install-CsAdServerSchema [-Ldf <directory where the .ldf file is located>]
If you do not specify the Ldf parameter, the value defaults to the Microsoft Communications Server 2010 installation path that is read from the registry.
For example:
Copy Code Install-CsAdServerSchema -Ldf "C:\Program Files\Microsoft Communications Server 2010\Deployment\Setup"
-
Use the following cmdlet to verify that schema preparation ran to completion.
Copy Code Get-CsAdServerSchema
-
Wait for Active Directory replication to complete or force replication.
-
Manually verify that the schema changes replicated to all other domain controllers, as described in the following procedure.
To manually verify schema replication
-
Log on to controller member server as a member of the EnterpriseAdmins group.
-
Open ADSI Edit by clicking Start, clicking Administrative Tools, and then clicking ADSI Edit.
Tip: Alternatively, you can run adsiedit.msc from the command line. -
In the Microsoft Management Console (MMC) tree, click ADSI Edit (that is, if it is not already selected).
-
On the Action menu, click Connect to.
-
In the Connection Settings dialog box under Select a well known Naming Context, select Schema, and then click OK.
-
Under the schema container, search for CN=ms-RTC-SIP-SchemaVersion. If this object exists, and the value of the rangeUpper attribute is 1100 and the value of the rangeLower attribute is 14, then the schema was successfully updated and replicated. If this object does not exist or the values of the rangeUpper and rangeLower attributes are not as specified, then the schema was not modified or has not replicated.