Share via


AddByInputObject method of the PS_DnsServerZoneDelegation class

Adds a new delegated DNS zone to an existing zone.

Syntax

uint32 AddByInputObject(
  [in]  string                  ComputerName,
  [in]  DnsServerZoneDelegation InputObject,
  [in]  string                  VirtualizationInstance,
  [in]  boolean                 PassThru,
  [in]  string                  ZoneScope,
  [out] DnsServerZoneDelegation cmdletOutput
);

Parameters

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.

InputObject [in]

This parameter takes an object of type DnsServerZoneDelegation as input.

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