Share via


Set method of the PS_DnsClientNrptGlobal class

Modifies Global NRPT settings.

Syntax

uint32 Set(
  [in]  string              EnableDAForAllNetworks,
  [in]  string              GpoName,
  [in]  string              SecureNameQueryFallback,
  [in]  string              QueryPolicy,
  [in]  string              Server,
  [in]  boolean             PassThru,
  [out] DnsClientNrptGlobal cmdletOutput
);

Parameters

EnableDAForAllNetworks [in]

Property that controls Direct Access.

GpoName [in]

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

SecureNameQueryFallback [in]

Property for controlling DNS client name resolution fallback policy.

QueryPolicy [in]

Property for controlling DNS client query policy.

Server [in]

Server hosting the GPO.

PassThru [in]

Specifies if result of the cmdlet should be displayed.

cmdletOutput [out]

A DnsClientNrptGlobal object contains all the properties of DNS client NRPT Global settings.

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_DnsClientNrptGlobal