This is the built-in help made by Microsoft for the command 'Set-DnsClientServerAddress', in PowerShell version 4 - as retrieved from
Windows version 'Microsoft Windows 8.1 Enterprise' 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.
Sets DNS server addresses associated with the TCP/IP properties on an interface.
Set-DnsClientServerAddress [-InterfaceAlias] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ResetServerAddresses] [-ServerAddresses <String[]>] [-Thro
ttleLimit <Int32>] [-Validate] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-DnsClientServerAddress [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ResetServerAddresses] [-ServerAddresses <String[]>] [-ThrottleLimit <Int32>] [-Validate
] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Set-DnsClientServerAddress [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ResetServerAddresses] [-ServerAddresses <String[]>] [-ThrottleLimit <Int32>] [-Validate
] -InterfaceIndex <UInt32[]> [-Confirm] [-WhatIf] [<CommonParameters>]
The Set-DnsClientServerAddress cmdlet sets one or more IP addresses for DNS servers associated with an interface. This cmdlet statically adds DNS server addresses to
the interface. If this cmdlet is used to add DNS servers to the interface, then the DNS servers will override any DHCP configuration for that interface.
<
Online Version: http://go.microsoft.com/fwlink/?linkid=287335
Get-DnsClientServerAddress
<
EXAMPLE 1
PS C:\>Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses ("10.0.0.1","10.0.0.2")
This example sets the DNS server addresses on a specified interface with the index value of 12.
EXAMPLE 2
PS C:\>Set-DnsClientServerAddress –InterfaceIndex 12 -ResetServerAddresses
This example resets the DNS client to use the default DNS server addresses specified by DHCP on the interface with an index value of 12.