This one should sort it.
https://gist.github.com/blark/510cc216416a6160d703bedc7f880b4b
--please don't forget to Accept as answer if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I have a list of around 1000 servers in excel sheet which contains multiple tabs. Each Tab contains some servers.
Please let me know any command or script which can export all the DNS servers IPs configured on each of the server.
We need to export this to a csv file. The input csv file only contains host name and IP address.
The output csv should contains Host name, IP address and DNS servers.
All servers are VMware machines.
There is another excel sheet which contains only Azure Windows VMs and we need to export the same settings there too.
This one should sort it.
https://gist.github.com/blark/510cc216416a6160d703bedc7f880b4b
--please don't forget to Accept as answer if the reply is helpful--
Hi,
Thanks for posting in Q&A platform.
Before we go further, may I confirm with you if the issue is export DNS server configuration which including DNS server IP address or export DNS records to a csv file?
Best Regards,
Sunny
----------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.