powershell

Get-DnsClientServerAddress

Get-DnsClientServerAddress is accessible with the help of DnsClient module. To configure DnsClient, go through this link. Synopsis Gets DNS server IP addresses from the TCP/IP properties on an…