PowerShell Logo Small

Get-DnsClientServerAddress



This is the built-in help made by Microsoft for the command 'Get-DnsClientServerAddress', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Gets DNS server IP addresses from the TCP/IP properties on an interface.

SYNTAX


Get-DnsClientServerAddress [[-InterfaceAlias] <String[]>] [-AddressFamily <AddressFamily[]>] [-AsJob] [-CimSession <CimSession[]>] [-InterfaceIndex <UInt32[]>]
[-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-DnsClientServerAddress cmdlet gets one or more DNS server IP addresses associated with the interfaces on the computer.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287328
Set-DnsClientServerAddress

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Get-DnsClientServerAddress



This example gets the DNS server IP addresses configured on all the interfaces on a computer.




EXAMPLE 2

PS C:\>Get-DnsClientServerAddress -InterfaceAlias "Wired Ethernet Connection"



This example gets the DNS server IP addresses configured on the interface named Wired Ethernet Connection.