Is there a way via PowerShell to query a DNS secondary zone and return the list of Master Servers? I guess I'm essentially looking for a Get equivalent of Add-DnsServerSecondaryZone but that doesn't exist as far as I can see.
My aim is to create a script for deleting a secondary zone from each of our DNS servers (simply enough), but before I delete it I'd like to retrieve the master server details so I can spit them out into a logfile. That way should someone accidentally delete the wrong secondary we can see from the logs where it was previously pointing to and set it up again.