Archive for May, 2025
Powershell command to find all DNS resolvers for all interfaces
by Brian on May.29, 2025, under Computer Stuff, General Info, Windows Info
This will find and return the DNS resolvers for all populated interfaces, excluding loopback:
Get-DNSClientServerAddress | Where-Object {($_.ServerAddresses -notlike "{}" -and $_.InterfaceAlias -notlike "Loopback*")}