Share via


Add method of the PS_DnsServerVirtualizationInstance class

Adds a DNS server virtualization instance.

Syntax

uint32 Add(
  [in]  string                          ComputerName,
  [in]  string                          Name,
  [in]  string                          FriendlyName,
  [in]  string                          Description,
  [in]  boolean                         PassThru,
  [out] DnsServerVirtualizationInstance cmdletOutput
);

Parameters

ComputerName [in]

Specifies the remote computer on which to execute the command.

Name [in]

Unique identifier of the virtualization instance.

FriendlyName [in]

user friendly name of the virtualization instance.

Description [in]

Description of the virtualization instance.

PassThru [in]

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

cmdletOutput [out]

A DnsServerVirtualizationInstance that contains the friendly name, and a 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