AddByParameters method of the PS_DnsServerZoneDelegation class

Adds a new delegated DNS zone to an existing zone.


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


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.

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:  This experimental parameter is supported beginning with Windows Server 2012 R2.

cmdletOutput [out]

Receives an embedded instance of the DnsServerZoneDelegation class.


Minimum supported client

None supported

Minimum supported server

Windows Server 2012





See also




© 2014 Microsoft