Remove-DNSObject -cannot find correct parameters

Sep 5, 2011 at 12:48 PM

Hello,

I have a problem to find the correct 'Identity' to remove some DNS-Objects.

Even if I copy the output from get-dnsrecord for Identity it doesn't work... Any help ?

Coordinator
Sep 16, 2011 at 3:20 PM

It's designed to accept pipeline input from Get-Dns*, but you find that doesn't work?

e.g.

Get-DnsRecord  | Remove-DnsObject

Chris

May 10, 2012 at 2:41 PM

I also have the same issue.  The problem with get-dnsrecord is it uses a wildcard.  So If I want to remove the the record 10.0.168.192.in-addr.arpa , piping from get-dns will delete all records that are 192.168.0.10*  (for e.g. 110.0.168.192.in-addr.arpa , 210.0.168.192.in-addr.arpa)

Eeeekkkk..  Glad I tested

 

So to get around the "issue" I tried to use the -Identity param to manually get around it which doesn't work