Author Posts

October 10, 2013 at 11:50 am

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

October 10, 2013 at 11:55 am

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.