PowerShell Logo Small

Set-DnsClientNrptRule



This is the built-in help made by Microsoft for the command 'Set-DnsClientNrptRule', 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

Modifies a DNS client Name Resolution Policy Table (NRPT) rule for the specified namespace.

SYNTAX


Set-DnsClientNrptRule [-Name] <String> [-AsJob] [-CimSession <CimSession[]>] [-Comment <String>] [-DAEnable <Boolean>] [-DAIPsecEncryptionType <String>] [-DAIPsecRequired
<Boolean>] [-DANameServers <String[]>] [-DAProxyServerName <String>] [-DAProxyType <String>] [-DisplayName <String>] [-DnsSecEnable <Boolean>] [-DnsSecIPsecEncryptionType
<String>] [-DnsSecIPsecRequired <Boolean>] [-DnsSecValidationRequired <Boolean>] [-GpoName <String>] [-IPsecTrustAuthority <String>] [-NameEncoding <String>] [-NameServers
<String[]>] [-Namespace <String[]>] [-PassThru] [-Server <String>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-DnsClientNrptRule cmdlet modifies the specified DNS client Name Resolution Policy Table (NRPT) rule.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287334
Add-DnsClientNrptRule
Get-DnsClientNrptGlobal
Get-DnsClientNrptPolicy
Get-DnsClientNrptRule
Remove-DnsClientNrptRule
Set-DnsClientNrptGlobal

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Set-DnsClientNrptRule -DAEnable $true -DAIPsecEncryptionType "High" -DAIPsecRequired $true -DANameServers 10.0.0.1 -DAProxyServerName "DaServer.com:6666"
-DAProxyType "UseProxyName" -DisplayName "Sample" -PassThru -IPsecTrustAuthority "RootCA" -Name "{1326d9d0-4fb5-4fed-9f67-f53637b85010}" -NameEncoding "Punycode"
-NameServers 10.0.0.1 -Namespace "dnsnrpt.com" -Server host1.com -Comment "Sample NRPT Rule" -DnsSecEnable $true -DnsSecIPsecEncryptionType "Medium" -DnsSecIPsecRequired
$true -DnsSecValidationRequired $true -GpoName TestGPO



This example modifies an NRPT rule for GPO named TestGPO on the server named host1.com for namespace dnsnrpt.com.