Using Cmdlets to Reverse Forest Preparation

 

Topic Last Modified: 2010-11-03

Use the Disable-CsAdForest cmdlet to reverse the forest preparation step.

Warning

If you run the Disable-CsAdForest cmdlet in an environment where you also have a previous version of Office Communications Server deployed, the global settings for the previous version will also be deleted.

To use cmdlets to reverse forest preparation

  1. Log on to a computer that is joined to a domain as a member of the Domain Admins group in the forest root domain.

  2. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.

  3. Run:

    Disable-CsAdForest [-Force] [-GroupDomain <FQDN of the domain in which universal groups were created>]
    
    Disable-CsAdForest -Force -GroupDomain contoso.net
    

    The Force parameter specifies whether to force the running of the task. If this parameter is not present, the command will not run if even one domain in the forest is still prepared for Lync Server 2010. If the Force parameter is specified, the action will continue regardless of the state of other domains in the forest.

    If you do not specify the GroupDomain parameter, the default value is the local domain.