Compartilhar via


Remove method of the PS_DnsServerVirtualizationInstance class

Removes a DNS server virtualization instance.

Syntax

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

Parameters

Name [in]

Unique identifier of the virtualization instance.

ComputerName [in]

Specifies the remote computer on which to execute the command.

PassThru [in]

Passes the object created by this cmdlet through the pipeline. By default, this cmdlet does not pass any objects through the pipeline.

Force [in]

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

RemoveZoneFiles [in]

If specified, removes all the zone files of the primary file backed zones hosted by the virtualization instance.

cmdletOutput [out]

VirtualizationInstance

FriendlyName

Description

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_DnsServerVirtualizationInstance