Skip to main content
Version: 2.2.1-preview

Test-MtCisDkim

SYNOPSIS

Checks state of DKIM for all EXO domains

SYNTAX

Test-MtCisDkim [[-Selector] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

DKIM SHOULD be enabled for all domains. Initial (MOERA) and coexistence domains are excluded, as Microsoft automatically signs outbound mail for those domains. CIS Microsoft 365 Foundations Benchmark v7.0.0 (2.1.9, L1)

EXAMPLES

EXAMPLE 1

Test-MtCisDkim

Returns true if a DKIM record exists and EXO shows DKIM enabled for every evaluated domain. Initial and coexistence domains are excluded from evaluation; if no domains remain, the test is skipped.

PARAMETERS

-Selector

Selector-name for the DKIM record to test..

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: Selector1
Accept pipeline input: False
Accept wildcard characters: False

-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

https://maester.dev/docs/commands/Test-MtCisDkim