Share via


Remove method of the PS_DnsServerForwarder class

Remove the specified Forwarders.

Syntax

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

Parameters

IPAddress [in]

Specifies the forwarders that need to be removed.

ComputerName [in]

Specifies the remote computer on which to execute the command.

PassThru [in]

If specified, returns the object or objects on which the operation was done.

Force [in]

If specified, overrides the default confirmation before performing the operation.

cmdletOutput [out]

On return, contains an embedded instance of the current object. This parameter returns a value only 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_DnsServerForwarder