I have all of Manning Powershell books but only two of them discuss DNSServerResourceRecord deletions yet, even those are one-off deletions.
What if I have 200 A records I want to delete?
I can put the following in a csv:
and I have this script from AD Management in MOL:
Remove-DnsServerResourceRecord -ZoneName $zone -Name $dnsserver -RRType A[/pre]
…but how can I create a forEach loop to iterate across all the host records I want to remove?