Freigeben über


RemoveByUnknown method of the PS_DnsServerResourceRecord class

Deletes the specified unknown DNS resource record.

Syntax

uint32 RemoveByUnknown(
  [in]  string                  ZoneName,
  [in]  boolean                 PassThru,
  [in]  string                  ComputerName,
  [in]  boolean                 Force,
  [in]  string                  ZoneScope,
  [in]  string                  VirtualizationInstance,
  [in]  uint16                  Type,
  [in]  string                  Name,
  [in]  string                  RecordData[],
  [out] DnsServerResourceRecord cmdletOutput[]
);

Parameters

ZoneName [in]

Specifies the name of the zone.

PassThru [in]

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

ComputerName [in]

Specifies the remote computer on which to execute the command.

Force [in]

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

ZoneScope [in]

Name of the zone scope.

VirtualizationInstance [in]

Unique identifier of the virtualization instance.

Type [in]

Type for Unknown record.

Name [in]

Name of the resource record that needs to be removed.

RecordData [in]

Data to be contained in the resource record that needs to be deleted. The record data may be in an object derived from the DnsServerResourceRecord class, such as DnsServerResourceRecordA or DnsServerResourceRecordTxt.

cmdletOutput [out]

A DnsServerResourceRecord. This parameter returns a value only if PassThru is set to true.

Requirements

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

See also

PS_DnsServerResourceRecord