< Back

Test-EmailAddressValidity

Sat Jan 11, 2020 2:50 pm

NAME Test-EmailAddressValidity



SYNOPSIS

This function verifies if an email address follows a valid pattern.





SYNTAX

Test-EmailAddressValidity [-emailAddress] <String> [<CommonParameters>]





DESCRIPTION





PARAMETERS

-emailAddress <String>

The email address to verify.



Required? true

Position? 1

Default value

Accept pipeline input? false

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



OUTPUTS

System.Boolean





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Test-EmailAddressValidity -EmailAddress "mailbox@domain.com"















RELATED LINKS