Test-MtAdDaclDistinctObjectCount
SYNOPSIS
Counts distinct Active Directory objects that have DACL entries.
SYNTAX
Test-MtAdDaclDistinctObjectCount [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
This informational test reviews DACL data collected by Get-MtADDomainState and counts the number of unique Active Directory objects represented in the DACL dataset. This helps confirm the breadth of DACL coverage across collected objects and provides baseline visibility into how many objects have explicit or inherited access control entries available for analysis.
EXAMPLES
EXAMPLE 1
Test-MtAdDaclDistinctObjectCount
Returns $true if DACL 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-MtAdDaclDistinctObjectCount