Skip to content

Test-WETMailSuffix

SYNOPSIS

Validate a mail suffix in the WET system.

SYNTAX

Test-WETMailSuffix [[-MailSuffix] <String>] [[-Credential] <PSCredential>] [<CommonParameters>]

DESCRIPTION

This function validates a mail suffix in the WET system by sending a request to the API. Optionally, credentials can be provided for authentication.

EXAMPLES

EXAMPLE 1

Test-WETMailSuffix -MailSuffix "example.com"

Validates the mail suffix "example.com" in the WET system.

EXAMPLE 2

Test-WETMailSuffix -MailSuffix "example.com" -Credential (Get-Credential)

Validates the mail suffix "example.com" in the WET system using the specified credentials.

PARAMETERS

-MailSuffix

The mail suffix to be validated.

Type: String
Parameter Sets: (All)
Aliases:

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

-Credential

The PSCredential object to use for authentication. If not provided, default credentials will be used.

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: 11
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

NOTES