Test-MtAdFineGrainedPolicyCount
SYNOPSIS
Counts the number of fine-grained password policies configured in the domain.
SYNTAX
Test-MtAdFineGrainedPolicyCount [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
This test retrieves and counts the fine-grained password policies (FGPP) configured in the Active Directory domain. Fine-grained password policies allow different password and account lockout policies to be applied to different sets of users or groups within the same domain, providing more granular security controls.
EXAMPLES
EXAMPLE 1
Test-MtAdFineGrainedPolicyCount
Returns $true if fine-grained password policy data is accessible, $false otherwise. The test result includes the count of configured FGPPs.
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-MtAdFineGrainedPolicyCount