[This is pre-release documentation and subject to change in future releases. This topic's current status is: Milestone-Ready]

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

  1. Log on to a computer in the forest as a member of the Schema Admins group and with Administrator rights on the schema master.

  2. 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"
    
  3. Use the following cmdlet to verify that schema preparation ran to completion.

    Copy Code
    Get-CsAdServerSchema 
    
  4. Wait for Active Directory replication to complete or force replication.

  5. Manually verify that the schema changes replicated to all other domain controllers, as described in the following procedure.

To manually verify schema replication

  1. Log on to controller member server as a member of the EnterpriseAdmins group.

  2. 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.
  3. In the Microsoft Management Console (MMC) tree, click ADSI Edit (that is, if it is not already selected).

  4. On the Action menu, click Connect to.

  5. In the Connection Settings dialog box under Select a well known Naming Context, select Schema, and then click OK.

  6. 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.

See Also