< Back

find-domainemails

Sat Jan 18, 2020 8:19 pm

NAME find-domainemails



SYNOPSIS

Uses the hunter.io api to return all email addresses that could be found associated with a particular domain or

company name.





SYNTAX

find-domainemails [-company] <String> [-Confirm] [-WhatIf] [-department {executive | it | finance | management |

sales | legal | support | hr | marketing | communication}] [-offset <String>] [-seniority {junior | senior |

executive}] [-type {personal | generic}] [<CommonParameters>]



find-domainemails [-domain] <String> [-Confirm] [-WhatIf] [-department {executive | it | finance | management |

sales | legal | support | hr | marketing | communication}] [-offset <String>] [-seniority {junior | senior |

executive}] [-type {personal | generic}] [<CommonParameters>]





DESCRIPTION

Uses the hunter.io api to return all email addresses that could be found associated with a particular domain or

company name. Can only return increments of 100, but if the offset parameter is omitted, this function will

collect all emails found.





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



-department <String[]>

Get only email addresses for people working in the selected department(s).



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-domain <String>

Domain name from which you want to find the email addresses. For example, "stripe.com".



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-offset <String>

Specifies the number of email addresses to skip. In other words, from where in the list of the total number

of emails do you want to obtain the 100 emails that each query is limited to?



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-seniority <String[]>

Get only email addresses for people with the selected seniority level.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-type <String>

Get only personal or generic email addresses. Do not include to search both.



Required? false

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-domainemails -domain github.com



Returns all email addresses for all departments and all seniority levels the hunter api can find for the domain

github.com

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



PS C:\\> find-domainemails -company Walmart -type personal -seniority senior -department "it" -offset 0



Returns only the first 100 personal emails of senior associates in the IT department that the hunter api can find

for the company walmart.



RELATED LINKS

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