Using cmdlets to reverse forest preparation for Lync Server 2013
Topic Last Modified: 2013-06-19
Use the Disable-CsAdForest cmdlet to reverse the forest preparation step.
|If you run the Disable-CsAdForest cmdlet in an environment where you also have a previous version of Lync Server deployed, the global settings for the previous version will also be deleted.|
Log on to a computer that is joined to a domain as a member of the Domain Admins group in the forest root domain.
Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Management Shell.
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 running 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 2013. 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.