Skip to main content

Test-MtCisaSpfDirective

SYNOPSIS

Checks state of SPF records for all exo domains

SYNTAX

Test-MtCisaSpfDirective [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

An SPF policy SHALL be published for each domain, designating only these addresses as approved senders.

EXAMPLES

EXAMPLE 1

Test-MtCisaSpfDirective

Returns true if SPF record exists and has at least one directive

PARAMETERS

-ProgressAction

{{ Fill ProgressAction Description }}

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-MtCisaSpfDirective