Powershell to fing Registrar Info

Is there anyway to use PowerShell or a command line to find the Registrar (WHOIS) and/or Registrar URL of a domain, and then say I have 30 to find in bulk?

Joined a company that has been creating domains without and standards and adding them to random DNS hosting providers, so I'm trying to locate where they are hosted, in bulk if possible.

Thank you in advance.
Christian HansAsked:
Who is Participating?
Jose Gabriel Ortega CConnect With a Mentor CEO J0rt3g4 Consulting ServicesCommented:
You have already a script created for it in here:


Check it out and let me know if you need anything else.

You can use it like this:
#Dot source
.  .\WHOIS.ps1
#then use it for a single domain
whois "domainhere.com"
#or load the Multiple lines (1 domain for line)
Get-Content .\Domains.txt | foreach-object{
    whois $_

Open in new window

Jose Gabriel Ortega CCEO J0rt3g4 Consulting ServicesCommented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.