script to check an icann domain registry for available .com

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 4 years, 7 months ago.

  • Author
  • #10655

    Chad Phillips

    I have very basic PS knowledge, but what I'd like to do is take a csv file that has two columns: Color and DomainName, and run a search against a domain register somewhere and pull info whether the .com is available or not. Thanks!


  • #10658

    Don Jones

    You can use Import-CSV to import the CSV file as a collection of objects, having Color and DomainName properties. From there, it's up to you to figure out how to do the query. I imagine Invoke-WebRequest could be of some help, but it depends entirely on what you're actually sending the query to.

You must be logged in to reply to this topic.