This project is read-only.

Remove-DNSObject -cannot find correct parameters

Sep 5, 2011 at 1:48 PM


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 ?

Sep 16, 2011 at 4:20 PM

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


Get-DnsRecord  | Remove-DnsObject


May 10, 2012 at 3: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 , piping from get-dns will delete all records that are*  (for e.g. ,

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