Skip to main content
Version: 2.0.1 (preview)

Resolve-SPFRecord

SYNOPSISโ€‹

Returns a list of all IP addresses from an SPF record

SYNTAXโ€‹

Resolve-SPFRecord [-Name] <String> [[-Server] <String>] [-Referrer <String>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTIONโ€‹

https://cloudbrothers.info/en/powershell-tip-resolve-spf/

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Resolve-SPFRecord microsoft.com

PARAMETERSโ€‹

-Nameโ€‹

Domain Name

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Serverโ€‹

DNS Server to use

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Referrerโ€‹

If called nested provide a referrer to build valid objects

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-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โ€‹

Resolve-SPFRecord.SPFRecord[]โ€‹

System.Stringโ€‹

NOTESโ€‹

https://maester.dev/docs/commands/Resolve-SPFRecord