Friday, 3 September 2021

How to remove multiple DNS Entry in Multiple Zone

 How to remove multiple DNS Entry in Multiple Zone


     

    File Format

   



Import-Csv "C:\Users\Administrator\Desktop\DeleteARecord.txt" | %{

Remove-DnsServerResourceRecord -ZoneName $_."Zone" -RRType "A" -Name $_."HostName"       -RecordData $_."IPAddress" }

No comments:

Post a Comment