Add method of the PS_DnsServerForwarder class

Add specified DNS server forwarders to the end of the list.

Syntax


uint32 Add(
  [in]  string             IPAddress[],
  [in]  string             ComputerName,
  [in]  boolean            PassThru,
  [out] DnsServerForwarder cmdletOutput
);

Parameters

IPAddress [in]

Specifies the forwarders in the order they need to be configured. first time. Subsequent adds will be added at the end of the list.

ComputerName [in]

Specifies the remote computer on which to execute the command.

PassThru [in]

True to return the object that was modified by the method. By default, this method does not generate any output.

cmdletOutput [out]

Receives and embedded instance of the DnsServerForwarder class.

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_DnsServerForwarder

 

 

Show: