< Back

find-likelyemail

Sat Jan 18, 2020 8:19 pm

NAME find-likelyemail



SYNOPSIS

This function generates or retrieves the most likely email address from a domain name, a first name and a last

name.





SYNTAX

find-likelyemail [-company] <String> [-Confirm] [-WhatIf] -firstname <String> -lastname <String>

[<CommonParameters>]



find-likelyemail [-domain] <String> [-Confirm] [-WhatIf] -firstname <String> -lastname <String>

[<CommonParameters>]





DESCRIPTION

This function generates or retrieves the most likely email address from a domain name, a first name and a last

name.





PARAMETERS

-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-company <String>

The company name from which you want to find the email addresses.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-domain <String>

The domain name of the company, used for emails



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-firstname <String>

The person's first name



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-lastname <String>

The person's last name



Required? true

Position? named

Default value None

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

None







OUTPUTS

System.Object







NOTES









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



PS C:\\> find-likelyemail -domain homedepot.com -firstname "John" -lastname "Doe"



This command will use the hunter api to generate the most likely HomeDepot.com email address for the individual

John Doe

-------------------------- Example 2 --------------------------



PS C:\\> find-likelyemail -company Subway -firstname "Steven" -lastname "Colbert"



This command will use the hunter api to generate the most likely email address associated with Subway for the

individual Steven Colbert.



RELATED LINKS

Full API Documentation https://hunter.io/api/v2/docs