Test-MtAdOptionalFeatureCount
SYNOPSIS
Retrieves the count of Active Directory optional features.
SYNTAX
Test-MtAdOptionalFeatureCount [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Active Directory optional features provide additional functionality beyond the base Active Directory capabilities. Common optional features include:
- Recycle Bin: Allows restoration of deleted objects
- Privileged Access Management (PAM): Time-based group membership
- Other forest or domain-specific features
Understanding which optional features are available helps assess the capabilities and security posture of the Active Directory environment.
EXAMPLES
EXAMPLE 1
Test-MtAdOptionalFeatureCount
Returns $true if optional feature data is accessible.
PARAMETERS
-ProgressAction
Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
System.Boolean
NOTES
RELATED LINKS
https://maester.dev/docs/commands/Test-MtAdOptionalFeatureCount