Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Enable or Disable Optional Features

Updated: February 28, 2009

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to enable or disable optional features in Active Directory Domain Services (AD DS).

The following example demonstrates how to enable the optional feature Active Directory Recycle Bin in the Fabrikam.com forest:

Enable-ADOptionalFeature `Recycle Bin Feature' -Scope Forest -Target `Fabrikam'

CautionCaution
Enabling the Active Directory Recycle Bin feature is an irreversible action.

The following example demonstrates how to disable an Active Directory optional feature in the Fabrikam.com forest:

Disable-ADOptionaFeature `OF2' -Scope Domain -Target `fabrikam'

For a full explanation of the parameters that you can pass to Enable-ADOptionalFeature, at the Active Directory module command prompt, type Get-Help Enable-ADOptionalFeature –detailed, and then press ENTER.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.