Test-MtAdComputerUnconstrainedDelegationCount
SYNOPSIS
Counts computers with unconstrained delegation configured.
SYNTAX
Test-MtAdComputerUnconstrainedDelegationCount [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Unconstrained delegation allows a service to impersonate a user to any other service. This is a high-risk configuration that should be minimized. This test counts all computers (including domain controllers) that have unconstrained delegation enabled.
Security Risk:
- Unconstrained delegation allows full impersonation of authenticated users
- If a computer with unconstrained delegation is compromised, attackers can impersonate any user who authenticates to that computer
- Should be replaced with constrained or resource-based constrained delegation
EXAMPLES
EXAMPLE 1
Test-MtAdComputerUnconstrainedDelegationCount
Returns $true if computer 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-MtAdComputerUnconstrainedDelegationCount