Share via


Get method of the PS_DnsClientNrptRule class

Retrieves DNS client Name Resolution Policy Table rules.

Syntax

uint32 Get(
  [in]  string            GpoName,
  [in]  string            Name[],
  [in]  string            Server,
  [out] DnsClientNrptRule cmdletOutput[]
);

Parameters

GpoName [in]

Name of GPO, if not specified the default GPO on the domain.

Name [in]

Name which uniquely identifies a rule.

Server [in]

Server hosting the gpo.

cmdletOutput [out]

A DnsClientNrptRule object containing all the properties of DNS client NRPT rule.

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_DnsClientNrptRule