This is the built-in help made by Microsoft for the command 'Get-DnsClient', 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.
Retrieves details of the network interfaces configured on a specified computer.
Get-DnsClient [[-InterfaceAlias] <String[]>] [-AsJob] [-CimSession <CimSession[]>] [-ConnectionSpecificSuffix <String[]>] [-InterfaceIndex <UInt32[]>]
[-RegisterThisConnectionsAddress <Boolean[]>] [-ThrottleLimit <Int32>] [-UseSuffixWhenRegistering <Boolean[]>] [<CommonParameters>]
The Get-DnsClient cmdlet retrieves configuration details specific to the different network interfaces on a specified computer.
<
Online Version: http://go.microsoft.com/fwlink/?linkid=287322
Register-DnsClient
Set-DnsClient
<
EXAMPLE 1
PS C:\>Get-DnsClient
This example gets configuration details of network interfaces on a computer.
EXAMPLE 2
PS C:\>$dnsClient1 = Get-DnsClient -InterfaceAlias "Wired Ethernet Connection"
PS C:\>Set-DnsClientServerAddress –InputObject $dnsClinet1 -ServerAddresses ("10.0.0.1","10.0.0.2")
This is a version of the cmdlet using the pipeline.
PS C:\>Get-DnsClient | Set-DnsClientServerAddress -ServerAddresses ("10.0.0.1","10.0.0.2")
This example sets the DNS server IP address on all of the wired Ethernet connections on a computer.
EXAMPLE 3
PS C:\>Get-DnsClient | Set-DnsClientServerAddress -ResetServerAddresses
This example resets all of the network interfaces to use DHCP-specified DNS server addresses.