returns a column named “Server addresses,” that contains ip addresses inside of squiggly lines. i want to find each interface that has a dns server with “10.” in its ip.
Get-DNSClientServerAddress | ? serveraddresses -contains “10.”"
“Get-DNSClientServerAddress | ? serveraddresses | get-member” says this is a “Selected.Microsoft.Management.Infrastructure.CimInstance” type, and it has a noteproperty named ‘serveraddreses’.
but i can’t get it to work with contains, like, $.serveraddresses.serveraddresses, $($.serveraddresses).serveraddresses, or anything else i tried. how can i filter this with a where?
(edit, this forum is removing the underscores after my dollar signs)