< Back

Get-MxLookup

Sat Jan 18, 2020 4:55 pm

NAME Get-MxLookup



SYNOPSIS

The Get-MxLookup command leverages the MxToolBox REST API to lookup DNS or Network attributes for a domain or IP

address.





SYNTAX

Get-MxLookup [-Command] {mx | a | dns | spf | txt | soa | ptr | blacklist | smtp | http | https | ping | trace}

-Domain <String> -IPAddress <INT> [<CommonParameters>]





DESCRIPTION

The Get-MxLookup command leverages the MxToolBox REST API to lookup DNS or Network attributes for a domain or IP

address. Avaliable commands can be found under the 'accepted values' for the '-Command' parameter.





PARAMETERS

-Command <String>

The lookup for the command to return



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Domain <String>

The domain or IP address to run the lookup against.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-IPAddress <INT>

Only used when running the 'ptr' Command



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

System.Object







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Get-MxLookup -Command BLACKLIST -Domain azzipa.com



This command returns the blacklist results for the domain 'azzipa.com' from MxToolBox



RELATED LINKS

Online Help Get-MxLookup https://github.com/scottd3v/PlayGround/ ... xLookup.md