PowerShell Logo Small

Get-DnsClientNrptRule



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

Retrieves the DNS client Name Resolution Policy Table (NRPT) rules.

SYNTAX


Get-DnsClientNrptRule [[-Name] <String[]>] [-AsJob] [-CimSession <CimSession[]>] [-GpoName <String>] [-Server <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-DnsClientNrptRule cmdlet retrieves DNS client Name Resolution Policy Table (NRPT) rules with the following details:

-- DNS client name setting.

-- DNS client version setting.

-- DNS client namespace setting.

-- DNS client IPsec Certification Authority (CA) restriction setting.

-- Direct Access (DA) DNS servers setting.

-- DA enabled setting.

-- DA proxy type setting.

-- DA proxy name setting.

-- DA query IPsec encryption setting.

-- DA query IPsec required setting.

-- DNS client name servers setting.

-- DNS security enabled setting.

-- DNS security query IPsec encryption setting.

-- DNS security query IPsec required setting.

-- DNS security validation required setting.

-- DNS client name encoding setting.

-- DNS client display name setting.

-- DNS client comment setting.



<

RELATED LINKS

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

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Get-DnsClientNrptRule -GpoName "corp.contoso.com\DirectAccess Client Settings"
Name : DA-{FD4B6054-F8C8-4868-94E6-8132AC707DBD}
Version : 1
Namespace : {.corp.contoso.com}
IPsecCARestriction :
DirectAccessDnsServers : {2001:db8:1::2, 2001:db8:2::20, 2001:db8:6::6}
DirectAccessEnabled : True
DirectAccessProxyType : NoProxy
DirectAccessProxyName :
DirectAccessQueryIPsecEncryption :
DirectAccessQueryIPsecRequired : False
NameServers :
DnsSecEnabled : False
DnsSecQueryIPsecEncryption :
DnsSecQueryIPsecRequired :
DnsSecValidationRequired :
NameEncoding : Disable
DisplayName :
Comment :

Name : DA-{274D94E4-E38B-4997-BA9F-84700712C09E}
Version : 1
Namespace : {nls.corp.contoso.com}
IPsecCARestriction :
DirectAccessDnsServers :
DirectAccessEnabled : True
DirectAccessProxyType : UseDefault
DirectAccessProxyName :
DirectAccessQueryIPsecEncryption :
DirectAccessQueryIPsecRequired : False
NameServers :
DnsSecEnabled : False
DnsSecQueryIPsecEncryption :
DnsSecQueryIPsecRequired :
DnsSecValidationRequired :
NameEncoding : Disable
DisplayName :
Comment :



This example retrieves an NRPT rules for the specified GPO.




EXAMPLE 2

PS C:\>Get-DnsClientNrptRule -GpoName "corp.contoso.com\DirectAccess Client Settings" -Server dc1
Name : DA-{FD4B6054-F8C8-4868-94E6-8132AC707DBD}
Version : 1
Namespace : {.corp.contoso.com}
IPsecCARestriction :
DirectAccessDnsServers : {2001:db8:1::2, 2001:db8:2::20, 2001:db8:6::6}
DirectAccessEnabled : True
DirectAccessProxyType : NoProxy
DirectAccessProxyName :
DirectAccessQueryIPsecEncryption :
DirectAccessQueryIPsecRequired : False
NameServers :
DnsSecEnabled : False
DnsSecQueryIPsecEncryption :
DnsSecQueryIPsecRequired :
DnsSecValidationRequired :
NameEncoding : Disable
DisplayName :
Comment :

Name : DA-{274D94E4-E38B-4997-BA9F-84700712C09E}
Version : 1
Namespace : {nls.corp.contoso.com}
IPsecCARestriction :
DirectAccessDnsServers :
DirectAccessEnabled : True
DirectAccessProxyType : UseDefault
DirectAccessProxyName :
DirectAccessQueryIPsecEncryption :
DirectAccessQueryIPsecRequired : False
NameServers :
DnsSecEnabled : False
DnsSecQueryIPsecEncryption :
DnsSecQueryIPsecRequired :
DnsSecValidationRequired :
NameEncoding : Disable
DisplayName :
Comment :



This example retrieves an NRPT rule for the specified GPO on the specified server.




EXAMPLE 3

PS C:\>Get-DnsClientNrptRule -GpoName "corp.contoso.com\DirectAccess Client Settings" -CimSession 2-dc1.corp2.corp.contoso.com



This example retrieves the NRPT rules on the remote computer named 2-dc1.corp2.corp.contoso.com.