AddByInputObject method of the PS_DnsServerRootHint class

Adds a root hint to a DNS server based on the specified DnsServerRootHint object.

Syntax


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

Parameters

ComputerName [in]

Specifies the remote computer on which to execute the command. 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.

InputObject [in]

The DnsServerRootHint object to add to the server.

PassThru [in]

Returns an object representing the item with which you are working. By default, this method does not generate any output.

cmdletOutput [out]

Receives the DnsServerRootHint object that was added to the server.

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

 

 

Show: