Test-MtAdSupportedSaslMechanismCount
SYNOPSIS
Retrieves the count of supported SASL mechanisms in Active Directory.
SYNTAX
Test-MtAdSupportedSaslMechanismCount [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Simple Authentication and Security Layer (SASL) mechanisms define the authentication protocols supported by Active Directory. The Root DSE (Directory Service Agent) publishes the supported SASL mechanisms which clients use to negotiate authentication.
Common SASL mechanisms include:
- GSSAPI: Kerberos-based authentication (most secure)
- GSS-SPNEGO: Negotiate authentication
- EXTERNAL: External authentication
- DIGEST-MD5: Digest authentication
Understanding supported mechanisms helps assess authentication capabilities and potential security implications.
EXAMPLES
EXAMPLE 1
Test-MtAdSupportedSaslMechanismCount
Returns $true if Root DSE 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-MtAdSupportedSaslMechanismCount