Share via


AddByParameters method of the PS_DnsServerZoneDelegation class

Adds a new delegated DNS zone to an existing zone.

Syntax

uint32 AddByParameters(
  [in]  string                  ChildZoneName,
  [in]  string                  IPAddress[],
  [in]  string                  NameServer,
  [in]  string                  ComputerName,
  [in]  string                  Name,
  [in]  string                  VirtualizationInstance,
  [in]  boolean                 PassThru,
  [in]  string                  ZoneScope,
  [out] DnsServerZoneDelegation cmdletOutput
);

Parameters

ChildZoneName [in]

Specifies the name of the child zone.

IPAddress [in]

Specifies an array of IP addresses for DNS servers for the child zone.

NameServer [in]

Specifies the name of the DNS server that hosts the child zone.

ComputerName [in]

Specifies a DNS server. If you do not specify this parameter, the command runs on the local system. You can specify an IP address or any value that resolves to an IP address, such as a fully qualified domain name (FQDN), host name, or NETBIOS name.

Name [in]

Specifies the name of the parent zone. The child zone will be part of this zone.

VirtualizationInstance [in]

Unique identifier of the virtualization instance.

Windows Server 2012 R2 and Windows Server 2012: This parameter is unavailable prior to Windows Server 2016.

PassThru [in]

true to return the object that was modified by the method. By default, this method does not generate any output.

ZoneScope [in]

Name of the zone scope.

Windows Server 2012: Not supported.

cmdletOutput [out]

Receives an embedded instance of the DnsServerZoneDelegation class.

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_DnsServerZoneDelegation