ConvertFrom-MailAuthenticationRecordMx
Synopsis
Section titled “Synopsis”A simple wrapper for Resolve-DnsName
Syntax
Section titled “Syntax”ConvertFrom-MailAuthenticationRecordMx [-DomainName] <String> [[-DnsServerIpAddress] <IPAddress>] [-QuickTimeout] [-NoHostsFile] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Section titled “Description”Name Type TTL Section NameExchange Preference---- ---- --- ------- ------------ ----------microsoft.com MX 1731 Answer microsoft-com.mail.protection.outlook.com 10Examples
Section titled “Examples”Example 1
Section titled “Example 1”ConvertFrom-MailAuthenticationRecordMx -DomainName "microsoft.com"Returns MX records or “Failure to obtain record”
Parameters
Section titled “Parameters”-DomainName
Section titled “-DomainName”Domain name to check.
Type: StringParameter Sets: (All)Aliases:
Required: TruePosition: 1Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False-DnsServerIpAddress
Section titled “-DnsServerIpAddress”DNS-server to use for lookup.
Type: IPAddressParameter Sets: (All)Aliases:
Required: FalsePosition: 2Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False-QuickTimeout
Section titled “-QuickTimeout”Use a shorter timeout value for the DNS lookup.
Type: SwitchParameterParameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault value: FalseAccept pipeline input: FalseAccept wildcard characters: False-NoHostsFile
Section titled “-NoHostsFile”Ignore hosts file for domain lookup.
Type: SwitchParameterParameter Sets: (All)Aliases:
Required: FalsePosition: NamedDefault value: FalseAccept pipeline input: FalseAccept wildcard characters: False-ProgressAction
Section titled “-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: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseCommonParameters
Section titled “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
Section titled “Inputs”Outputs
Section titled “Outputs”System.Management.Automation.PSObject
Section titled “System.Management.Automation.PSObject”System.String
Section titled “System.String”Related links
Section titled “Related links”https://maester.dev/docs/commands/ConvertFrom-MailAuthenticationRecordMx