Retrieve Details of an Optional Feature

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to retrieve the details of an optional feature in Active Directory Domain Services (AD DS).


The following example demonstrates how to retrieve the details of the optional feature Active Directory Recycle Bin in the forest:

Get-ADOptionalFeature 'Recycle Bin Feature'

Additional information

In addition to the standard Lightweight Directory Access Protocol (LDAP) attributes, you can retrieve the following extended properties of the Get- ADOptionalFeature cmdlet by using the -Properties parameter:

  • EnabledScopes

  • FeatureGUID

  • FeatureScope

  • IsDisableable

  • RequiredDomainMode

  • RequiredForestMode

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