次の方法で共有


Remove method of the PS_DnsServerZone class

Removes the specified zone.

Syntax

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

Parameters

Name [in]

Specifies the name of the zone to be deleted.

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.

Force [in]

true to not require user confirmation before continuing with the operation; false to require user confirmation. The default is false.

VirtualizationInstance [in]

Unique identifier of the virtualization instance.

Windows Server 2012 R2 and Windows Server 2012: This parameter is not supported before Windows Server 2016.

cmdletOutput [out]

On return, contains an embedded DnsServerZone 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_DnsServerZone