$
49.95
Developer license

Frequently Asked Questions - General

How can I validate e-mail addresses in my PowerShell scripts?

Starting from version 3.0, EmailVerify.NET comes with Windows PowerShell integration and support and includes an additional assembly, EmailVerify.PSSnapIn.dll, which, upon being loaded into an existing PowerShell session, exposes e-mail verification features to the user. This integration makes easy to include e-mail validation requirements into your automation scripts.

In order to use the Windows PowerShell integration of the component, its snap-in must be loaded into PowerShell sessions; for instructions on how to install and load the EmailVerify.NET PowerShell snap-in please refer to the Installing the EmailVerify.NET snap-in section of our online help.

Once the snap-in is loaded into PowerShell sessions, it makes available the Verify-EmailAddress cmdlet; this cmdlet allows for easy e-mail and mailbox validation within any Windows PowerShell script, tipically with just one line of code, like in the following example:

(Verify-EmailAddress johndoe@example.com).IsSuccess

For additional PowerShell code samples please see our Using the verification cmdlet section of the online help.

Discover EmailVerify.NET
Try EmailVerify.NET
Buy EmailVerify.NET