Skip to main content

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: 1.1.1.1
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