I am trying to filter out A records in DNS using the following line but want to add a second value to the -FILTER section -
Get-WmiObject -Class MicrosoftDNS_AType -NameSpace Root\MicrosoftDNS -ComputerName $DnsServer -Filter "DomainName = 'domainname.com'"
How do I add a second filtering option like OwnerName (Name of host record)?