I've got about 100 domains on my my DNS server, a mixture of Primary & Secondary, AD integrated and not, and I need to get a list of all these and their corresponding Namservers, in a presentable format.
I do not need any other zone info or records, just -
Zone A - NS1, NS2
Zone B - NS1, NS2
As I am trying to learn Powershell I wondered if someone could show me how to script this, and format in a way so that each zone is on a new line when exported (as some zones obviously have many NS's)?
Thank you for your time!