Share via


Get method of the PS_DnsClientNrptPolicy class

Retrieves Name Resolution Policy Table configured on the machine.

Syntax

uint32 Get(
  [in]  boolean                      Effective,
  [in]  string                       Namespace,
  [out] DnsClientPolicyConfiguration cmdletOutput[]
);

Parameters

Effective [in]

If this parameter is specified then EffectiveNrptPolicy is returned.

Namespace [in]

Namespace of which the policy information is to be found out.

cmdletOutput [out]

A DnsClientPolicyConfiguration object containing all the properties of DNS client NRPT policy. If Effective is specified, only the contents of Effective policy are retrieved.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsClientPSProvider.mof
DLL
DnsClientPSProvider.dll

See also

PS_DnsClientNrptPolicy