script to check an icann domain registry for available .com

Welcome Forums General PowerShell Q&A script to check an icann domain registry for available .com

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
5 years, 2 months ago.

  • Author
    Posts
  • #10655

    Participant
    Points: 0
    Rank: Member

    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!

    -Chad

  • #10658

    Keymaster
    Points: 1,704
    Helping HandTeam Member
    Rank: Community Hero

    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.

The topic ‘script to check an icann domain registry for available .com’ is closed to new replies.