Partager via


Set method of the PS_DnsServerRootHint class

Updates a DNS root hint.

Syntax

uint32 Set(
  [in]  DnsServerRootHint InputObject,
  [in]  string            ComputerName,
  [in]  boolean           PassThru,
  [out] DnsServerRootHint cmdletOutput
);

Parameters

InputObject [in]

The DnsServerRootHint object that contains the new DNS root hint.

ComputerName [in]

Specifies a remote DNS server. The acceptable values for this parameter are: an IP address or any value that resolves to an IP address, such as a fully qualified domain name (FQDN), host name, or NETBIOS name.

PassThru [in]

Specifies whether this method returns the DnsServerRootHint object. True returns the object, False does not.

cmdletOutput [out]

Receives the DnsServerRootHint object returned by the method if PassThru is set to True.

Requirements

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

See also

PS_DnsServerRootHint