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