CmdID / PowerShell / Cmdlets / Disable
Disable-ADOptionalFeature
Disables an Active Directory optional feature. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-AuthTypeSpecifies the authentication method to use.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies the user account credentials to use to perform this task.-IdentitySpecifies an Active Directory optional feature object by providing one of the following values.-PassThruReturns an object representing the item with which you're working.-ScopeSpecifies the scope at which the feature is enabled or disabled.-ServerSpecifies the Active Directory Domain Services instance to connect to, by providing one of the following values for a corresponding domain name or directory server.-TargetSpecifies the domain or forest in which to modify the optional feature.-WhatIf, -wiShows what would happen if the cmdlet runs.