Share via


Remove method of the PS_DnsServerZoneScope class

Removes a zone scope from an existing DNS zone.

Syntax

uint32 Remove(
  [in]  string       ZoneName,
  [in]  string       Name,
  [in]  boolean      PassThru,
  [in]  boolean      Force,
  [in]  string       ComputerName,
  [out] DnsZoneScope cmdletOutput
);

Parameters

ZoneName [in]

The name of the zone that contains the zone scope to remove.

Name [in]

The name of the zone scope to remove.

PassThru [in]

Indicates whether the DnsZoneScope parameter returns an object. True to return an object; otherwise false.

Force [in]

Indicates whether this method displays the default confirmation prompt to the user. True to displays the default confirmation prompt; otherwise false.

ComputerName [in]

The computer name of the machine that hosts the DNS zone.

cmdletOutput [out]

The DnsZoneScope object that receives the zone scope to remove.

Requirements

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

See also

PS_DnsServerZoneScope